src1d default routines

See also Using src1d for source terms with AMRClaw.

For GeoClaw, see src1d routine in GeoClaw.

Below is the default src1d library routines for AMRClaw. The same form is used in both 2d and 3d. By default these do nothing. If you wish to specify source terms, you need to copy one of these files to your application directory and modify it as needed. Remember to change to Makefile to point to the proper version.

$CLAW/amrclaw/src/2d/src1d.f90:

System Message: WARNING/2 (/var/folders/_s/dx0xgftn3_x04rdx0_w5nq7w0000gn/T/tmplBPRI1sphinxcontrib_versioning/8b07e169f86998872fc1cf3755d1b7f4a8c40a33/doc/src1d_defaults.rst, line 22)

Include file u’/var/folders/_s/dx0xgftn3_x04rdx0_w5nq7w0000gn/T/tmplBPRI1sphinxcontrib_versioning/amrclaw/src/2d/src1d.f90’ not found or reading it failed

$CLAW/amrclaw/src/3d/src1d.f90:

System Message: WARNING/2 (/var/folders/_s/dx0xgftn3_x04rdx0_w5nq7w0000gn/T/tmplBPRI1sphinxcontrib_versioning/8b07e169f86998872fc1cf3755d1b7f4a8c40a33/doc/src1d_defaults.rst, line 29)

Include file u’/var/folders/_s/dx0xgftn3_x04rdx0_w5nq7w0000gn/T/tmplBPRI1sphinxcontrib_versioning/amrclaw/src/3d/src1d.f90’ not found or reading it failed

src1d routine in GeoClaw

In GeoClaw, there is a library routine to impose source terms for bottom friction (via a Manning term) and Coriolis terms. The topography source term is built into the Riemann solver in a manner that achieves well balancing (an ocean at rest remains at rest).

$CLAW/geoclaw/src/2d/shallow/src1d.f90:

System Message: WARNING/2 (/var/folders/_s/dx0xgftn3_x04rdx0_w5nq7w0000gn/T/tmplBPRI1sphinxcontrib_versioning/8b07e169f86998872fc1cf3755d1b7f4a8c40a33/doc/src1d_defaults.rst, line 47)

Include file u’/var/folders/_s/dx0xgftn3_x04rdx0_w5nq7w0000gn/T/tmplBPRI1sphinxcontrib_versioning/geoclaw/src/2d/shallow/src1d.f90’ not found or reading it failed