![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | Makefile | 2013-01-21 18:05 | 1.8K | |
![]() | Makefile.html | 2013-01-21 21:31 | 4.0K | |
![]() | _output/ | 2013-01-21 20:21 | - | |
![]() | claw.data | 2013-01-21 20:01 | 2.1K | |
![]() | claw.data.html | 2013-01-21 21:31 | 4.4K | |
![]() | driver.f | 2013-01-21 18:05 | 880 | |
![]() | driver.f.html | 2013-01-21 21:31 | 2.8K | |
![]() | driver.o | 2013-01-21 20:01 | 1.0K | |
![]() | makeplots.py | 2013-01-21 18:05 | 2.0K | |
![]() | makeplots.py.html | 2013-01-21 21:31 | 3.6K | |
![]() | plots_1/ | 2013-01-21 20:21 | - | |
![]() | plots_2/ | 2013-01-21 20:21 | - | |
![]() | plots_3/ | 2013-01-21 20:21 | - | |
![]() | plots_4/ | 2013-01-21 20:21 | - | |
![]() | plots_5/ | 2013-01-21 20:22 | - | |
![]() | plots_6/ | 2013-01-21 20:22 | - | |
![]() | pyclaw.log | 2013-01-21 20:22 | 2.7K | |
![]() | qinit.f | 2013-01-21 18:05 | 693 | |
![]() | qinit.f.html | 2013-01-21 21:31 | 2.5K | |
![]() | qinit.o | 2013-01-21 20:01 | 1.3K | |
![]() | rp1ac.f | 2013-01-21 18:05 | 4.1K | |
![]() | rp1ac.f.html | 2013-01-21 21:31 | 6.8K | |
![]() | rp1ac.o | 2013-01-21 20:01 | 2.9K | |
![]() | setplot.py | 2013-01-21 18:05 | 2.2K | |
![]() | setplot.py.html | 2013-01-21 21:31 | 4.3K | |
![]() | setplot_1.py | 2013-01-21 18:05 | 1.7K | |
![]() | setplot_1.py.html | 2013-01-21 21:31 | 3.7K | |
![]() | setplot_1.pyc | 2013-01-21 20:01 | 1.4K | |
![]() | setplot_2.py | 2013-01-21 18:05 | 2.0K | |
![]() | setplot_2.py.html | 2013-01-21 21:31 | 4.1K | |
![]() | setplot_2.pyc | 2013-01-21 20:01 | 1.6K | |
![]() | setplot_3.py | 2013-01-21 18:05 | 2.4K | |
![]() | setplot_3.py.html | 2013-01-21 21:31 | 4.5K | |
![]() | setplot_3.pyc | 2013-01-21 20:01 | 1.7K | |
![]() | setplot_4.py | 2013-01-21 18:05 | 2.2K | |
![]() | setplot_4.py.html | 2013-01-21 21:31 | 4.2K | |
![]() | setplot_4.pyc | 2013-01-21 20:01 | 1.7K | |
![]() | setplot_5.py | 2013-01-21 18:05 | 3.0K | |
![]() | setplot_5.py.html | 2013-01-21 21:31 | 5.1K | |
![]() | setplot_5.pyc | 2013-01-21 20:01 | 2.2K | |
![]() | setplot_6.py | 2013-01-21 18:05 | 3.7K | |
![]() | setplot_6.py.html | 2013-01-21 21:31 | 6.1K | |
![]() | setplot_6.pyc | 2013-01-21 20:01 | 3.0K | |
![]() | setprob.data | 2013-01-21 20:01 | 468 | |
![]() | setprob.data.html | 2013-01-21 21:31 | 2.2K | |
![]() | setprob.f | 2013-01-21 18:05 | 733 | |
![]() | setprob.f.html | 2013-01-21 21:31 | 2.5K | |
![]() | setprob.o | 2013-01-21 20:01 | 1.7K | |
![]() | setrun.py | 2013-01-21 18:05 | 5.6K | |
![]() | setrun.py.html | 2013-01-21 21:31 | 9.0K | |
![]() | xclaw | 2013-01-21 20:01 | 166K | |
README.html | ![]() |
Source file: README.txt | |
Directory: /Users/rjl/git/rjleveque/clawpack-4.6.3/doc/sphinx/example-acoustics-1d | |
Converted: Mon Jan 21 2013 at 20:15:53 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: solid wall at x=0, outflow at x=1.
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.
|