Version 7 (modified by 12 years ago) ( diff ) | ,
---|
Back to BearclawOutline
ODEs
Description:
An includable module containing procedures used to compute the derivatives of physical source terms. subroutines currently exist for cylindrical geometry, gravity, and cooling.
Location:
contrib/astro/physics/i_i_ODEs.f90
Included In Files:
contrib/astro/physics/i_src.f90
Functions and Subroutines:
- Derivatives2D — Calculates time-derivatives of the field variables in a cell.
- Jacobian2D — Computes a Jacobian matrix from the source terms.
- eightwavesD — A divergence-cleaning subroutine.
- Cyl2D — Contributes cylindrical geometric source terms to time-derivatives (hydro only).
- Cyl2DMHD — Contributes cylindrical geometric source terms to time-derivatives (MHD only).
- Gravity — Contributes gravitational source terms, with gravity originating from the lower-left corner.
- UniformGravity — Contributes gravitational source terms, with gravity originating from the bottom edge.
- DMCool — Returns cooling source terms, derived from the Dalgarno-McCray cooling curve.
- NEQPhysics — Returns cooling source terms, obtained using the the microphysics subroutine Cool_Derivatives().
- AnalyticCool — Returns cooling source terms calculated from a Delamarter-style analytic cooling curve.
- eightwavesJ — Divergence cleaning in the Jacobian.
- Cyl2DJac — Adds hydro cylindrical terms to the Jacobian source term matrix.
- Cyl2DJacMHD — Adds MHD cylindrical terms to the Jacobian source term matrix.
- GravityJac — Contributes gravitational source terms to the Jacobian, with gravity originating from the lower-left corner.
- UniformGravityJac — Contributes gravitational source terms to the Jacobian, with gravity originating from the bottom edge.
- DMCoolJac — Contributes cooling source terms to the Jacobian, derived from the Dalgarno-McCray curve.
- NEQPhysicsJac — Contributes microphysics cooling source terms to the Jacobian.
- AnalyticCoolJac — Contributes cooling source terms to the Jacobian, derived from an analytic curve.
- Derivatives3D — Calculates time-derivatives of the field variables in a cell.
- Jacobian3D — Computes a Jacobian matrix from the source terms.
- InitCool — Reads in the Dalgarno-McCray cooling table from
cooling.tab
.
- CoolingRate — Returns a cooling rate interpolated from the Dalgarno-McCray cooling table.
- AnalyticCoolingRate — Calculate a cooling rate based on the analytic cooling function.
- AnalyticCoolingSlope — Return the slope of the cooling function at a given temperature.
Note:
See TracWiki
for help on using the wiki.