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

#include <phycon.h>

Inheritance diagram for t_phycon:
Collaboration diagram for t_phycon:

Public Member Functions

const char * chName () const
 
void zero ()
 
void comment (t_warnings &)
 
 t_phycon ()
 
- Public Member Functions inherited from module
 module ()
 
virtual ~module ()
 

Public Attributes

double te
 
double te_eV
 
double te_ryd
 
double te_wn
 
double teinv
 
double tesqrd
 
double EnergyIonization
 
double EnergyExcitation
 
double EnthalpyDensity
 
double EnergyBinding
 
double sqrte
 
double te32
 
double te90
 
double te70
 
double te40
 
double te30
 
double te20
 
double te10
 
double te07
 
double te05
 
double te04
 
double te03
 
double te02
 
double te01
 
double te007
 
double te005
 
double te004
 
double te003
 
double te002
 
double te001
 
double te0001
 
double te0002
 
double te0003
 
double te0004
 
double te0005
 
double te0007
 
double telogn [7]
 
double sqlogz [LIMELM]
 
double alogte
 
double alnte
 
double TeInit
 
double TeProp
 
double EdenInit
 
double EdenProp
 
double TEnerDen
 
bool lgPhysOK
 
realnum BigJumpTe
 
realnum BigJumpne
 
realnum BigJumpH2
 
realnum BigJumpCO
 
const double TEMP_STOP_DEFAULT
 
const double TEMP_LIMIT_LOW
 
const double TEMP_LIMIT_HIGH
 
const double TEMP_LIMIT_HIGH_LOG
 

Detailed Description

Constructor & Destructor Documentation

◆ t_phycon()

t_phycon::t_phycon ( )
inline

define constructor to set initial values for these constant variables within class. Order matters here - from PvH: This is what Stroustrup says: "The constructors [i.e. the initializers for TEMP_LIMIT_LOW, etc.] are called in the order in which the members are declared in the class rather than the order in which the members appear in the initializer list. To avoid confusion, it is best to specify the initializers in the member declaration order."

References TEMP_LIMIT_HIGH, TEMP_LIMIT_HIGH_LOG, TEMP_LIMIT_LOW, and TEMP_STOP_DEFAULT.

Member Function Documentation

◆ chName()

const char * t_phycon::chName ( ) const
inlinevirtual

Implements module.

◆ comment()

void t_phycon::comment ( t_warnings & )
inlinevirtual

Implements module.

◆ zero()

void t_phycon::zero ( void )
virtual

Implements module.

References BigJumpCO, BigJumpH2, BigJumpne, BigJumpTe, DEBUG_ENTRY, and lgPhysOK.

Member Data Documentation

◆ alnte

double t_phycon::alnte

alnte is natural log of temperature

◆ alogte

double t_phycon::alogte

alogte is base 10 log of temperature

◆ BigJumpCO

realnum t_phycon::BigJumpCO

Referenced by zero().

◆ BigJumpH2

realnum t_phycon::BigJumpH2

Referenced by zero().

◆ BigJumpne

realnum t_phycon::BigJumpne

Referenced by zero().

◆ BigJumpTe

realnum t_phycon::BigJumpTe

largest relative changes in Te, ne, H+, H2, and CO in structure this is computed as part of prtcomment so does not exist when code not talking, set to zero in zero and still zero if prtcomment not called

Referenced by zero().

◆ EdenInit

double t_phycon::EdenInit

initial electron density

◆ EdenProp

double t_phycon::EdenProp

proposed electron density

◆ EnergyBinding

double t_phycon::EnergyBinding

this is the total binding energy of the molecules, and is negative, the energy need to get back to free atoms

◆ EnergyExcitation

double t_phycon::EnergyExcitation

the total internal energy of atoms and molecules within the gas, erg/cm^3. This is the amount of energy to excite the current level populations from the ground. this includes electronic excitations of atoms and rotation excitations of molecules

◆ EnergyIonization

double t_phycon::EnergyIonization

total ionization energy of gas, erg/cm^3, evaluated in PressureTotal, this is the amount of energy needed to go from pure atoms to the current ionization of the gas.

◆ EnthalpyDensity

double t_phycon::EnthalpyDensity

the enthalpy per unit vol, updated with pressure updated

◆ lgPhysOK

bool t_phycon::lgPhysOK

lag set if a physical condition has been disabled

Referenced by zero().

◆ sqlogz

double t_phycon::sqlogz[LIMELM]

this is used to rescale telogn array for other charge, ith element is log(i+1)^(i+1)

◆ sqrte

double t_phycon::sqrte

these are simple powers of the electron temperature, are evaluated in tfidle, and can be used to avoid exponentials

◆ te

double t_phycon::te

te, electron temperature K

◆ te0001

double t_phycon::te0001

◆ te0002

double t_phycon::te0002

◆ te0003

double t_phycon::te0003

◆ te0004

double t_phycon::te0004

◆ te0005

double t_phycon::te0005

◆ te0007

double t_phycon::te0007

◆ te001

double t_phycon::te001

◆ te002

double t_phycon::te002

◆ te003

double t_phycon::te003

◆ te004

double t_phycon::te004

◆ te005

double t_phycon::te005

◆ te007

double t_phycon::te007

◆ te01

double t_phycon::te01

◆ te02

double t_phycon::te02

◆ te03

double t_phycon::te03

◆ te04

double t_phycon::te04

◆ te05

double t_phycon::te05

◆ te07

double t_phycon::te07

◆ te10

double t_phycon::te10

◆ te20

double t_phycon::te20

◆ te30

double t_phycon::te30

◆ te32

double t_phycon::te32

◆ te40

double t_phycon::te40

◆ te70

double t_phycon::te70

◆ te90

double t_phycon::te90

◆ te_eV

double t_phycon::te_eV

the current electron temperature in eV

◆ te_ryd

double t_phycon::te_ryd

the current electron temperature in Ryd

◆ te_wn

double t_phycon::te_wn

the current electron temperature in wavenumbers

◆ TeInit

double t_phycon::TeInit

initial temperature

◆ teinv

double t_phycon::teinv

1/TE

◆ telogn

double t_phycon::telogn[7]

1 is log Te, 2 is (log T)^2, etc

◆ TEMP_LIMIT_HIGH

const double t_phycon::TEMP_LIMIT_HIGH

highest temperature to ever allow

Referenced by t_phycon().

◆ TEMP_LIMIT_HIGH_LOG

const double t_phycon::TEMP_LIMIT_HIGH_LOG

Referenced by t_phycon().

◆ TEMP_LIMIT_LOW

const double t_phycon::TEMP_LIMIT_LOW

lowest temperature to ever allow

Referenced by t_phycon().

◆ TEMP_STOP_DEFAULT

const double t_phycon::TEMP_STOP_DEFAULT

The default value of the stopping temperature

Referenced by t_phycon().

◆ TEnerDen

double t_phycon::TEnerDen

energy density temperature

◆ TeProp

double t_phycon::TeProp

proposed temperature

◆ tesqrd

double t_phycon::tesqrd

T^2


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