| Name | Last modified | Size | Description | |
|---|---|---|---|---|
| Parent Directory | - | |||
| Makefile | 2012-05-30 01:42 | 1.7K | ||
| Makefile.html | 2012-05-30 04:20 | 3.8K | ||
| _plots/ | 2012-05-30 02:45 | - | ||
| afterframe.m | 2012-05-30 01:42 | 76 | ||
| afterframe.m.html | 2012-05-30 04:20 | 1.6K | ||
| claw.data | 2012-05-30 02:45 | 2.1K | ||
| claw.data.html | 2012-05-30 04:20 | 4.4K | ||
| claw1ez.data | 2012-05-30 01:42 | 1.5K | ||
| claw1ez.data.html | 2012-05-30 04:20 | 3.0K | ||
| claw1ez.data1 | 2012-05-30 01:42 | 1.5K | ||
| driver.f | 2012-05-30 01:42 | 769 | ||
| driver.f.html | 2012-05-30 04:20 | 2.6K | ||
| driver.o | 2012-05-30 02:45 | 1.3K | ||
| makefig.m | 2012-05-30 01:42 | 314 | ||
| makefig.m.html | 2012-05-30 04:20 | 1.9K | ||
| pyclaw.log | 2012-05-30 02:45 | 2.0K | ||
| qinit.f | 2012-05-30 01:42 | 659 | ||
| qinit.f.html | 2012-05-30 04:20 | 2.4K | ||
| qinit.o | 2012-05-30 02:45 | 1.3K | ||
| rp1.f | 2012-05-30 01:42 | 2.3K | ||
| rp1.f.html | 2012-05-30 04:20 | 5.0K | ||
| rp1.o | 2012-05-30 02:45 | 2.5K | ||
| setplot.py | 2012-05-30 01:42 | 2.2K | ||
| setplot.py.html | 2012-05-30 04:20 | 4.2K | ||
| setplot.pyc | 2012-05-30 02:45 | 1.7K | ||
| setplot1.m | 2012-05-30 01:42 | 1.4K | ||
| setplot1.m.html | 2012-05-30 04:20 | 3.6K | ||
| setprob.data | 2012-05-30 02:45 | 468 | ||
| setprob.data.html | 2012-05-30 04:20 | 2.2K | ||
| setprob.f | 2012-05-30 01:42 | 733 | ||
| setprob.f.html | 2012-05-30 04:20 | 2.5K | ||
| setprob.o | 2012-05-30 02:45 | 1.5K | ||
| setrun.py | 2012-05-30 01:42 | 5.6K | ||
| setrun.py.html | 2012-05-30 04:20 | 9.1K | ||
| xclaw | 2012-05-30 02:45 | 43K | ||
| README.html | |
| Source file: README.txt | |
| Directory: /Users/rjl/git/rjleveque/clawpack-4.6.2/book/chap3/acousimple | |
| Converted: Wed May 30 2012 at 13:02:17 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 Code
Example [book/chap3/acousimple]
to accompany Figure 3.1 of the book Converted to Clawpack 4.4 form by RJL in 2009.
Description:
1d 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}. \]
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 files
Note: The files *.data are generated when setrun.py [.html] is executed.
Library routines
In 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.
|