README.html Source file:   README.txt Directory:   /Users/rjl/git/rjleveque/clawpack-4.6.3/apps/acoustics/1d/example2 Converted:   Mon Jan 21 2013 at 20:15:16   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 *********}$





## CLAWPACK Sample Code

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}.$

The parameters rho and K are specified in setrun.py [.html].

Boundary conditions: solid wall at $x=-1$, outflow at $x=1$.

See Instructions

#### Plots of results

After running this code and creating plots via "make .plots", you should be able to view the plots in _plots/_PlotIndex.html .

#### Fortran files

Makefile [.html]
Determines which version of fortran files are used when compiling the code with make.

setprob.f [.html]
A routine by this name is called by the library routine clawpack/1d/lib/claw1ez.f [.html] and is generally used to set any values needed for the specific problem being solved.

rp1.f [.html]

#### Instructions

To run code:

    \$ make .output


View plots interactively with Iplotclaw or use "make .plots" to create html files.