Version 5 (modified by 12 years ago) ( diff ) | ,
---|
SUBROUTINE GravityJac(REAL[] q, REAL[] dfdq, CELLINFO ci)
Defined In:
contrib/astro/physics/i_i_ODEs.f90
Inputs:
REAL[]
q. The 1D array that holds the field values for the cell.
REAL[]
dfdq. A 2D array that returns the Jacobian matrix of f
with respect to the field variables in q
.
CELLINFO
ci. Contains info and constants used to toggle various derivative calculations.
Description:
Contributes gravity source terms to the Jacobian matrix dfdq
. This subroutine orients gravity towards the lower left corner of the problem domain. Note that if ci%ScaleGravR3
is zero, then no changes are made.
Called In:
ODEs :: Jacobian2D()
Modules Used:
None.
Files Included:
None.
Note:
See TracWiki
for help on using the wiki.