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


AMRCLAW Sample Code


Swirling flow in a box

For more details, see the parent directory for the code without AMR: ../README.html

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 [.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 . [.html]
Problem-specific parameters.

Python files [.html]
This file contains a function that specifies what run-time parameters will be used. [.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.