Version 4 (modified by 12 years ago) ( diff ) | ,
---|
SUBROUTINE AnalyticCool(REAL[] q, REAL[] dqdt)
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 AnalyticCool()
's contribution to q
's time-derivatives.
Description:
Apply time-derivatives from cooling source term. In this case, the cooling source term is calculated by analytic methods; see the AnalyticCoolingRate() subroutine for more details.
Note that this subroutine treats dqdt
as an accumulator—it will add its terms to whatever is already in dqdt
without overwriting it. AnalyticCool()
only affects the energy time-derivative, or dqdt(iE)
.
Called In:
Modules Used:
None.
Files Included:
None.