cloudy trunk
|
#include <dense.h>
Public Member Functions | |
t_dense () | |
void | SetGasPhaseDensity (const long nelem, const realnum density) |
realnum | xMolecules (long nelem) |
void | updateXMolecules () |
void | zero () |
Private Attributes | |
realnum | m_xMolecules [LIMELM] |
|
inline |
Definition at line 31 of file dense.h.
References AtomicWeight, and zero().
void t_dense::SetGasPhaseDensity | ( | const long | nelem, |
const realnum | density ) |
Definition at line 86 of file dense.cpp.
References deut, gas_phase, ipHYDROGEN, and SetGasPhaseDeuterium().
void t_dense::updateXMolecules | ( | ) |
Definition at line 26 of file dense.cpp.
References m_xMolecules, and total_molecule_elems().
|
inline |
Definition at line 83 of file dense.h.
References m_xMolecules.
void t_dense::zero | ( | ) |
Definition at line 31 of file dense.cpp.
References ipHYDROGEN, LIMELM, and m_xMolecules.
Referenced by t_dense().
realnum t_dense::AbundanceLimit |
double t_dense::cdsqte |
char t_dense::chDenseLaw[5] |
double t_dense::density_low_limit |
double t_dense::DensityLaw[10] |
realnum t_dense::DensityPower |
double t_dense::eden_from_metals |
realnum t_dense::EdenExtra |
realnum t_dense::EdenFraction |
double t_dense::EdenHCorr |
double t_dense::EdenMax |
realnum t_dense::EdenSet |
double t_dense::EdenTrue |
realnum t_dense::fhden[LIMTABDLAW] |
realnum t_dense::flong |
realnum t_dense::frad[LIMTABDLAW] |
dense.gas_phase is the total gas phase abundances, including anything within molecules, but not including grains
Definition at line 71 of file dense.h.
Referenced by SetGasPhaseDensity().
realnum t_dense::HCorrFac |
long int t_dense::IonLow[LIMELM+1] |
indices for lowest stage of ionization of the elements on C scale, lowest is 0 for atom, -1 if element turned off, the first stage of ionization with positive abundance is [IonLow] where 0 is the atom, the highest stage of ionization with positive abundance is [IonHigh], NB NB so loops should be
ion=IonLow, ion<=IonHigh
bool t_dense::lgDenFlucOn |
bool t_dense::lgDenFlucRadius |
bool t_dense::lgDLWDepth |
bool t_dense::lgEdenBad |
array of logical variables saying whether an element is enable (true) or disabled (false). It is set totally true in zero and is set false with the "element off" command.
In SetAbundances if can be reset so that an element that was disabled on the first model in a core load is not later enabled
dense.xMolecules density of elements locked in molecules, this is included in gas_phase
Definition at line 80 of file dense.h.
Referenced by updateXMolecules(), xMolecules(), and zero().
long int t_dense::nzEdenBad |
realnum t_dense::pden |
double t_dense::SqrtEden |
realnum t_dense::xMassDensity0 |
realnum t_dense::xMassTotal |
realnum t_dense::xNucleiTotal |