| Name | Last modified | Size | Description | |
|---|---|---|---|---|
| Parent Directory | - | |||
| Makefile | 2011-05-15 14:28 | 1.8K | ||
| Makefile.html | 2011-10-22 13:26 | 3.8K | ||
| _plots/ | 2011-07-26 11:45 | - | ||
| claw.data | 2011-07-26 11:42 | 2.1K | ||
| claw.data.html | 2011-10-22 13:26 | 4.4K | ||
| driver.f | 2011-05-15 14:28 | 887 | ||
| driver.f.html | 2011-10-22 13:26 | 2.7K | ||
| pyclaw.log | 2011-07-26 11:44 | 855 | ||
| qinit.f | 2011-05-15 14:28 | 612 | ||
| qinit.f.html | 2011-10-22 13:26 | 2.3K | ||
| setplot.py | 2011-05-15 14:28 | 1.8K | ||
| setplot.py.html | 2011-10-22 13:26 | 3.7K | ||
| setplot.pyc | 2011-07-26 11:42 | 1.5K | ||
| setprob.data | 2011-05-15 14:28 | 29 | ||
| setprob.data.html | 2011-10-22 13:26 | 1.5K | ||
| setprob.f | 2011-05-15 14:28 | 655 | ||
| setprob.f.html | 2011-10-22 13:26 | 2.4K | ||
| setrun.py | 2011-05-15 14:28 | 5.5K | ||
| setrun.py.html | 2011-10-22 13:26 | 9.0K | ||
| traffic.m | 2011-05-15 14:28 | 3.1K | ||
| traffic.m.html | 2011-10-22 13:26 | 5.8K | ||
| README.html | |
| Source file: README.txt | |
| Directory: /home/rjl/git/rjleveque/clawpack-4.x/book/chap11/redlight | |
| Converted: Tue Jul 26 2011 at 12:59:04 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 Code
Traffic flow equations. Riemann problem for cars stopping at a red light. The file traffic.m gives a demo of traffic flow stopping at a red light, using a Lagrangian method (tracking cars).
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.
|