Version 2 (modified by 12 years ago) ( diff ) | ,
---|
SUBROUTINE NEQPhysics(REAL[] q, REAL[] dqdt, 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[]
dqdt. A 1D INTENT(INOUT)
array that is returned with DMCool()
's contribution to q
's time-derivatives.
CELLINFO
ci. Contains information and constants that help calculate the derivatives of this cell's field variables.
Description:
Apply time-derivatives from cooling source term. In this case, the cooling source term is derived from the the microphysics equations defined in Cool_Derivatives(). (Note: as of 8/22/2008 I am not sure how much of this is functional).
This subroutine treats dqdt
as an accumulator—it will add its terms to whatever is already in dqdt
without overwriting it.
Called In:
Modules Used:
None.
Files Included:
None.