wiki:Jacobian3D

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

SUBROUTINE Jacobian3D(CELLINFO ci, REAL[] q, REAL[] dfdt, REAL[] dfdq)


Defined In:

contrib/astro/physics/i_i_ODEs.f90


Inputs:

CELLINFO ci. Contains information and constants that help calculate the derivatives.

REAL[] q. The 1D array that holds the field values for the cell.

REAL[] dfdt. A 1D array that is returned with the the function f's time-derivatives. This does not actually get used, and should probably be removed.

REAL[] dfdq. A 2D array that returns the Jacobian matrix of f with respect to the field variables in q.


Description:

Calculates the Jacobian matrix of the source term in Stiff() using the field variables in q. Much like Derivatives3D(), This subroutine uses ci to control the subroutines that factor in the various physical and coordinate conditions that affect the resulting matrix, which is returned via dfdq.


Unlike Jacobian2D(), this subroutine only supports cooling source terms at the moment; gravity and cylindrical source terms are not yet implemented for wiki:Jacobian3D().


Called In:

Source :: Stiff()


Modules Used:

None.


Files Included:

None.

Note: See TracWiki for help on using the wiki.