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/tmpncwe3lmk/6c7c4a351d3bdc60fa855e7f5fa7fcf9fa1676ae/src1d_defaults.rst, line 21)

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/tmpncwe3lmk/6c7c4a351d3bdc60fa855e7f5fa7fcf9fa1676ae/src1d_defaults.rst, line 28)

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/tmpncwe3lmk/6c7c4a351d3bdc60fa855e7f5fa7fcf9fa1676ae/src1d_defaults.rst, line 46)

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