Version 2 (modified by 12 years ago) ( diff ) | ,
---|
SUBROUTINE Cyl2DMHD(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 Cyl2D()
's contribution to q
's time-derivatives.
CELLINFO
ci. Contains information and constants that help calculate the derivatives.
Description:
Applies time-derivatives in a 2D cylindrical system. Cyl2DMHD()
also incorporates cell-centered magnetic field values into its calculations. This subroutine only works for MHD problems; for hydro probelms use Cyl2D().
Note that 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.