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/tmpjwx6m1jj/56744eeda50bfc1d8fec79d45060637228943b2f/src1d_defaults.rst, line 22)

Include file ‘/var/folders/_s/dx0xgftn3_x04rdx0_w5nq7w0000gn/T/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/tmpjwx6m1jj/56744eeda50bfc1d8fec79d45060637228943b2f/src1d_defaults.rst, line 29)

Include file ‘/var/folders/_s/dx0xgftn3_x04rdx0_w5nq7w0000gn/T/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/tmpjwx6m1jj/56744eeda50bfc1d8fec79d45060637228943b2f/src1d_defaults.rst, line 47)

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