| Name | Last modified | Size | Description | |
|---|---|---|---|---|
| Parent Directory | - | |||
| _plots/ | 2013-01-21 19:25 | - | ||
| setprob.data | 2013-01-21 19:25 | 468 | ||
| qinit.f | 2013-01-21 18:05 | 603 | ||
| setprob.f | 2013-01-21 18:05 | 733 | ||
| driver.f | 2013-01-21 18:05 | 880 | ||
| driver.o | 2013-01-21 19:25 | 1.0K | ||
| qinit.o | 2013-01-21 19:25 | 1.2K | ||
| pyclaw.log | 2013-01-21 19:25 | 1.3K | ||
| setplot.pyc | 2013-01-21 19:25 | 1.7K | ||
| Makefile | 2013-01-21 18:05 | 1.7K | ||
| setprob.o | 2013-01-21 19:25 | 1.8K | ||
| claw.data | 2013-01-21 19:25 | 2.1K | ||
| setprob.data.html | 2013-01-21 21:31 | 2.2K | ||
| setplot.py | 2013-01-21 18:05 | 2.2K | ||
| rp1.f | 2013-01-21 18:05 | 2.4K | ||
| qinit.f.html | 2013-01-21 21:31 | 2.4K | ||
| setprob.f.html | 2013-01-21 21:31 | 2.5K | ||
| driver.f.html | 2013-01-21 21:31 | 2.7K | ||
| rp1.o | 2013-01-21 19:25 | 2.9K | ||
| Makefile.html | 2013-01-21 21:31 | 3.9K | ||
| setplot.py.html | 2013-01-21 21:31 | 4.3K | ||
| claw.data.html | 2013-01-21 21:31 | 4.4K | ||
| rp1.f.html | 2013-01-21 21:31 | 5.1K | ||
| setrun.py | 2013-01-21 18:05 | 5.6K | ||
| setrun.py.html | 2013-01-21 21:31 | 9.1K | ||
| xclaw | 2013-01-21 19:25 | 166K | ||
| README.html | |
| Source file: README.txt | |
| Directory: /Users/rjl/git/rjleveque/clawpack-4.6.3/apps/acoustics/1d/example1 | |
| Converted: Mon Jan 21 2013 at 20:15:15 using clawcode2html | |
| This documentation file will not reflect any later changes in the source file. |
$\phantom{******** If you see this on the webpage then the
browser could not locate *********}$
$\phantom{******** the jsMath file load.js *********}$
$\newcommand{\vector}[1]{\left[\begin{array}{c} #1 \end{array}\right]}$ $\newenvironment{matrix}{\left[\begin{array}{cccccccccc}} {\end{array}\right]}$ $\newcommand{\A}{{\cal A}}$ $\newcommand{\W}{{\cal W}}$
|
|
CLAWPACK Sample Code1d acoustics in a constant medium. \[ q_t + A q_x = 0 \] where \[ q(x,t) = \vector{ p(x,t)\\ u(x,t)} \] and the coefficient matrix is \[ A = \begin{matrix} 0 & K\\ 1/\rho & 0 \end{matrix}. \] The parameters rho and K are specified in setrun.py [.html], along with data used to specify the initial conditions (a Gaussian pressure pulse). Boundary conditions: outflow at both boundaries. See Instructions
Plots of resultsAfter running this code and creating plots via "make .plots", you should be able to view the plots in _plots/_PlotIndex.html .
Fortran files
Python files
Data filesWarning: These files are generally changed when setting up a run and the versions here may not be the ones actually used.
Library routinesIn addition to the Fortran routines in this library, several library routines from $CLAW/clawpack/1d/lib are used. See the Makefile [.html] to determine which ones are used. |