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






## AMRCLAW Sample Code

#### Description

Advection equation for 2d solid body rotation in an annulus.

$q_t + u(x,y)q_x + v(x,y)q_x = 0$, with $u(x,y) = -2\pi y, \qquad v(x,y) = 2\pi x.$ Solid body rotation with period 1.

Polar coordinates.

#### 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.

Other Fortran files are either up one level (see ../README [.html]) or in the AMRCLAW library $CLAW/amrclaw/2d/lib . #### Data files amr2ez.data [.html] Standard parameter values that are read by library routine amrclaw/2d/lib/amr2ez.f [.html] Each line contains one or more values to be read in, followed by comments that are ignored by the Fortran code but used by the Python read or write methods of class clawtools.ClawData. Some parameters that you might want to modify are described in the documentation . setprob.data [.html] Problem-specific parameters. #### Python files mapc2p.py [.html] Maps the computational rectangular domain to the physical grid. setrun.py [.html] This file contains a function that specifies what run-time parameters will be used. setplot.py [.html] This file contains a function that specifies what plots will be done and sets various plotting parameters. ### Library routines In addition to the Fortran routines in this library, several library routines from$CLAW/amrclaw/2d/lib are used. See the Makefile [.html] to determine which ones are used.