|
Cloudy
Spectral Synthesis Code for Astrophysics
|
#include <magnetic.h>


Public Member Functions | |
| const char * | chName () const |
| void | zero (void) |
| void | comment (t_warnings &) |
Public Member Functions inherited from module | |
| module () | |
| virtual | ~module () |
Public Attributes | |
| bool | lgB |
| double | EnthalpyDensity |
| double | pressure |
| double | energydensity |
|
inlinevirtual |
Implements module.
|
inlinevirtual |
Implements module.
|
virtual |
zero initialize magnetic field parameters
Implements module.
References Bpar_here, Bpar_init, Btan_here, Btan_init, Btangl_here, Btangl_init, DEBUG_ENTRY, energydensity, EnthalpyDensity, gamma_mag, lgB, lgBinitialized, and pressure.
| double t_magnetic::energydensity |
energy density at current location, this is positive
Referenced by highen(), Magnetic_evaluate(), and zero().
| double t_magnetic::EnthalpyDensity |
enthalpy density associated with field
Referenced by Magnetic_evaluate(), PresTotCurrent(), SaveDo(), and zero().
| bool t_magnetic::lgB |
this says mag fields are turned on
Referenced by Magnetic_evaluate(), ParseMagnet(), PrtComment(), and zero().
| double t_magnetic::pressure |
this is magnetic pressure at current location - this can be negative for ordered field
Referenced by CoolEvaluate(), Magnetic_evaluate(), t_mean::MeanInc(), PresTotCurrent(), PrtZone(), SaveDo(), and zero().