cloudy
trunk
|
Go to the source code of this file.
Functions | |
void | ion_trim_init () |
void | ion_trim_untrim (long nelem) |
void | ion_trim_invalidate (long nelem) |
void | ion_trim_from_set () |
void | ion_trim_small (long nelem, double abund_total) |
void | ion_widen (long nelem) |
void | ion_trim_validate (long nelem, bool lgIonizTrimCalled) |
void | mole_ion_trim (void) |
void | ion_trim (long int nelem) |
void | ion_trim2 (long int nelem, long int oldIonRange[2]) |
void ion_trim | ( | long int | nelem | ) |
ion_trim raise or lower most extreme stages of ionization considered
nelem | element number on the C scale, 5 for C |
Definition at line 177 of file ion_trim.cpp.
References t_mesh::anu(), ASSERT, t_elementnames::chElementName, conv, DEBUG_ENTRY, dense, t_dense::density_low_limit, elementnames, fnzone, fprintf(), t_struc::gas_phase, t_dense::gas_phase, Heavy, ionbal, t_dense::IonHigh, t_dense::IonLow, ioQQQ, ipHELIUM, ipHYDROGEN, iso_sp, t_conv::lgIonStageTrimed, t_mole_global::lgNoMole, t_conv::lgSearch, t_ionbal::lgTrimhiOn, t_ionbal::lgTrimloOn, LIMELM, MAX2, MIN2, mole_global, t_rfield::nflux, NISO, t_conv::nTotalIoniz, t_iso_sp::numLevels_max, nzone, phycon, radius, t_radius::Radius, rfield, SDIV(), t_thermal::setHeating(), SMALLFLOAT, t_iso_sp::st, struc, t_phycon::te_ryd, thermal, t_ionbal::trimhi, t_ionbal::trimlo, t_Heavy::Valence_IP_Ryd, t_struc::xIonDense, and t_dense::xIonDense.
Referenced by ConvBase().
void ion_trim2 | ( | long int | nelem, |
long int | oldIonRange[2] | ||
) |
Definition at line 613 of file ion_trim.cpp.
References ASSERT, t_elementnames::chElementName, conv, DEBUG_ENTRY, dense, t_dense::density_low_limit, dynamics, t_dense::EdenTrue, elementnames, fnzone, fprintf(), t_dense::gas_phase, ionbal, t_dense::IonHigh, t_dense::IonLow, ioQQQ, ipHELIUM, ipHYDROGEN, iso_sp, t_dynamics::lgAdvection, t_conv::lgIonStageTrimed, t_mole_global::lgNoMole, t_conv::lgSearch, t_dynamics::lgTimeDependentStatic, t_ionbal::lgTrimhiOn, t_ionbal::lgTrimloOn, LIMELM, MAX2, MIN2, mole_global, NISO, t_iso_sp::numLevels_max, nzone, radius, t_radius::Radius, t_thermal::setHeating(), SMALLFLOAT, t_dynamics::Source, thermal, t_ionbal::trimhi, t_ionbal::trimlo, and t_dense::xIonDense.
Referenced by ConvBase().
void ion_trim_from_set | ( | ) |
Definition at line 92 of file ion_trim.cpp.
References DEBUG_ENTRY, dense, ion_trim_from_set(), ipHYDROGEN, t_dense::lgSetIoniz, and LIMELM.
void ion_trim_init | ( | ) |
Definition at line 35 of file ion_trim.cpp.
References t_mesh::anu(), DEBUG_ENTRY, dense, Heavy, ion_trim_from_set(), ion_trim_invalidate(), ionbal, t_dense::IonHigh, t_dense::IonLow, t_Heavy::ipHeavy, ipHYDROGEN, t_dense::lgElmtOn, t_dense::lgSetIoniz, t_ionbal::lgTrimhiOn, t_ionbal::lgTrimloOn, LIMELM, max(), t_rfield::nflux, rfield, t_rfield::uh, and t_dense::xIonDense.
Referenced by ContSetIntensity().
void ion_trim_invalidate | ( | long | nelem | ) |
Definition at line 26 of file ion_trim.cpp.
References DEBUG_ENTRY, dense, t_dense::IonHigh, and t_dense::IonLow.
Referenced by ion_trim_init(), and map_do().
void ion_trim_small | ( | long | nelem, |
double | abund_total | ||
) |
Definition at line 115 of file ion_trim.cpp.
References ASSERT, DEBUG_ENTRY, dense, ionbal, t_dense::IonHigh, t_dense::IonLow, t_ionbal::lgTrimhiOn, t_thermal::setHeating(), thermal, and t_dense::xIonDense.
Referenced by clean_up().
void ion_trim_untrim | ( | long | nelem | ) |
Definition at line 20 of file ion_trim.cpp.
References DEBUG_ENTRY, dense, t_dense::IonHigh, and t_dense::IonLow.
Referenced by ChargTranPun(), and map_do().
void ion_trim_validate | ( | long | nelem, |
bool | lgIonizTrimCalled | ||
) |
Definition at line 936 of file ion_trim.cpp.
References ASSERT, conv, DEBUG_ENTRY, dense, t_dense::gas_phase, t_dense::IonHigh, t_dense::IonLow, t_conv::lgSearch, SMALLFLOAT, and t_dense::xIonDense.
Referenced by ConvBase().
void ion_widen | ( | long | nelem | ) |
Definition at line 891 of file ion_trim.cpp.
References abund, DEBUG_ENTRY, dense, t_dense::density_low_limit, frac(), t_dense::IonHigh, t_dense::IonLow, iso_sp, t_dense::lgSetIoniz, NISO, t_iso_sp::st, and t_dense::xIonDense.
Referenced by ConvBase().
void mole_ion_trim | ( | void | ) |
Definition at line 131 of file ion_trim.cpp.
References DEBUG_ENTRY, dense, t_dense::gas_phase, ionbal, t_dense::IonHigh, t_dense::IonLow, t_dense::lgElmtOn, t_ionbal::lgTrimhiOn, t_ionbal::lgTrimloOn, nuclide_list, t_ionbal::trimhi, t_ionbal::trimlo, and t_dense::xIonDense.
Referenced by mole_drive().