wiki:AnalyticCoolingSlope

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

FUNCTION AnalyticCoolingSlope(REAL[] q)


Defined In:

contrib/astro/physics/i_i_ODEs.f90


Inputs:

REAL[] q. A one-dimensional array of field variables (the contents of a cell).


Returns:

The function returns a real, unscaled value calculated from an analytic cooling function.


Description:

Takes the field variables for a single cell and calculates the slope of the analytic cooling curve used in our Delamarter shock test. This curve is of the form lambda/n2 = bTa. If the temperature in the cell is below the MinTemp value read in from physics.data (see ReadPhysics()), then AnalyticCoolingSlope() returns 0.


Called In:

ODEs :: AnalyticCoolJac()


Modules Used:

None.


Files Included:

None.

Note: See TracWiki for help on using the wiki.