Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
t_magnetic Struct Reference

#include <magnetic.h>

Inheritance diagram for t_magnetic:
Collaboration diagram for t_magnetic:

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
 

Member Function Documentation

◆ chName()

const char * t_magnetic::chName ( ) const
inlinevirtual

Implements module.

◆ comment()

void t_magnetic::comment ( t_warnings & )
inlinevirtual

Implements module.

◆ zero()

void t_magnetic::zero ( void )
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.

Member Data Documentation

◆ energydensity

double t_magnetic::energydensity

energy density at current location, this is positive

Referenced by zero().

◆ EnthalpyDensity

double t_magnetic::EnthalpyDensity

enthalpy density associated with field

Referenced by zero().

◆ lgB

bool t_magnetic::lgB

this says mag fields are turned on

Referenced by zero().

◆ pressure

double t_magnetic::pressure

this is magnetic pressure at current location - this can be negative for ordered field

Referenced by zero().


The documentation for this struct was generated from the following files: