wiki:DMCoolJac

Version 3 (modified by trac, 12 years ago) ( diff )

SUBROUTINE DMCoolJac(REAL[] q, REAL[] dfdq)


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.


Description:

Contributes cooling source terms to the Jacobian matrix dfdq. The cooling source term here is calculated from the cooling curve outlined in Dalgarno-McCray 1972.
This subroutine only modifies the row of dfdq that deals with the derivatives of the energy density iE.


Called In:

ODEs :: Jacobian2D()

ODEs :: Jacobian3D()


Modules Used:

None.


Files Included:

None.

Note: See TracWiki for help on using the wiki.