|
cloudy
trunk
|

Go to the source code of this file.
Data Structures | |
| struct | t_mean |
Functions | |
| void | MeanInc (void) |
| void | MeanZero (void) |
| void | MeanIonRadius (char chType, long int nelem, long int *n, realnum arlog[], bool lgDensity) |
| void | MeanIonVolume (char chType, long int nelem, long int *n, realnum arlog[], bool lgDensity) |
| void | aver (const char *chWhat, double quan, double weight, const char *chLabl) |
Variables | |
| EXTERN struct t_mean | mean |
| void aver | ( | const char * | chWhat, |
| double | quan, | ||
| double | weight, | ||
| const char * | chLabl | ||
| ) |
aver compute average of various quantities over the computed geometry called by startenditer to initialize, radinc to increment, and prtfinal for final results
| *chWhat | |
| quan | |
| weight | |
| *chLabl |
Definition at line 585 of file mean.cpp.
References cdEXIT, DEBUG_ENTRY, t_radius::drad_x_fillfac, t_radius::dVeff, geometry, ioQQQ, t_geometry::lgSphere, NAVER, PrintEfmt(), radius, and ShowMe().
Referenced by H2_Create(), IterStart(), PrtFinal(), and radius_increment().

| void MeanInc | ( | void | ) |
mean derive mean ionization fractions over computed EXTERN structure
Definition at line 21 of file mean.cpp.
References t_mean::B_HarMeanTempRadius, DEBUG_ENTRY, dense, t_radius::drad_x_fillfac, t_radius::dVeff, t_dense::eden, t_dense::gas_phase, t_hmi::H2_total, t_mean::H2MeanTempRadius, t_mean::H2MeanTempVolume, t_mean::H_21cm_spin_mean_radius, t_mean::HarMeanTempRadius, t_mean::HarMeanTempVolume, hmi, hyperfine, ipHYDROGEN, LIMELM, magnetic, mean, phycon, PI8, t_magnetic::pressure, t_radius::r1r0sq, radius, SDIV(), SMALLFLOAT, t_phycon::te, t_mean::TempEdenMeans, t_mean::TempEdenMeansNorm, t_mean::TempMeanRadius, t_mean::TempMeans, t_mean::TempMeansNorm, t_mean::TempMeanVolume, t_hyperfine::Tspin21cm, t_dense::xIonDense, t_mean::xIonEdenMeans, t_mean::xIonEdenMeansNorm, t_mean::xIonMeans, and t_mean::xIonMeansNorm.
Referenced by radius_increment().

| void MeanIonRadius | ( | char | chType, |
| long int | nelem, | ||
| long int * | n, | ||
| realnum | arlog[], | ||
| bool | lgDensity | ||
| ) |
MeanIonRadius derive mean ionization fractions over ravius for some element
| chType | either 'i' or 't' for ionization or temperature |
| nelem | atomic number on physical, no c, scale |
| *n | this will say how many of arlog have non-zero values |
| arlog[] | array of values, log both cases |
| lgDensity | true, include electron density, false do not |
Definition at line 315 of file mean.cpp.
References ASSERT, DEBUG_ENTRY, dense, ioQQQ, t_dense::lgElmtOn, MAX2, mean, SMALLFLOAT, t_mean::TempEdenMeans, t_mean::TempEdenMeansNorm, t_mean::TempMeans, t_mean::TempMeansNorm, t_mean::xIonEdenMeans, t_mean::xIonEdenMeansNorm, t_mean::xIonMeans, and t_mean::xIonMeansNorm.
Referenced by cdIonFrac(), cdTemp(), and PrtMeanIon().
| void MeanIonVolume | ( | char | chType, |
| long int | nelem, | ||
| long int * | n, | ||
| realnum | arlog[], | ||
| bool | lgDensity | ||
| ) |
MeanIonVolume do volume mean of ionization fractions over volume of any element
| chType | either 'i' or 't' for ionization or temperature |
| nelem | atomic number on physical, no c, scale |
| *n | this will say how many of arlog have non-zero values |
| arlog[] | array of values, log both cases |
| lgDensity | true, include electron density, false do not |
Definition at line 446 of file mean.cpp.
References ASSERT, DEBUG_ENTRY, dense, ioQQQ, t_dense::lgElmtOn, MAX2, mean, SMALLFLOAT, t_mean::TempEdenMeans, t_mean::TempEdenMeansNorm, t_mean::TempMeans, t_mean::TempMeansNorm, t_mean::xIonEdenMeans, t_mean::xIonEdenMeansNorm, t_mean::xIonMeans, and t_mean::xIonMeansNorm.
Referenced by cdIonFrac(), cdTemp(), and PrtMeanIon().
| void MeanZero | ( | void | ) |
MeanZero zero mean of ionization fractions array
Definition at line 212 of file mean.cpp.
References t_mean::B_HarMeanTempRadius, DEBUG_ENTRY, t_mean::H2MeanTempRadius, t_mean::H2MeanTempVolume, t_mean::H_21cm_spin_mean_radius, t_mean::HarMeanTempRadius, t_mean::HarMeanTempVolume, LIMELM, MALLOC, MAX2, mean, t_mean::TempEdenMeans, t_mean::TempEdenMeansNorm, t_mean::TempMeanRadius, t_mean::TempMeans, t_mean::TempMeansNorm, t_mean::TempMeanVolume, t_mean::xIonEdenMeans, t_mean::xIonEdenMeansNorm, t_mean::xIonMeans, and t_mean::xIonMeansNorm.
Referenced by IterStart(), and zero().
Referenced by cdB21cm(), cdColm(), cdTemp(), MeanInc(), MeanIonRadius(), MeanIonVolume(), MeanZero(), PunchDo(), and punResults().
1.8.3.1