README.html | ![]() |
Source file: README.txt | |
Directory: /home/rjl/git/rjleveque/clawpack-4.x/apps/acoustics/1d/example1 | |
Converted: Tue Jul 26 2011 at 12:58:47 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. |