/home66/gary/public_html/cloudy/c08_branch/source/mean.h File Reference

This graph shows which files directly or indirectly include this file:

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


Function Documentation

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

Parameters:
*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().

Here is the call graph for this function:

void MeanInc ( void   ) 

mean derive mean ionization fractions over computed EXTERN structure

Definition at line 21 of file mean.cpp.

References DEBUG_ENTRY, dense, t_radius::drad_x_fillfac, t_radius::dVeff, t_dense::eden, t_dense::gas_phase, t_hmi::H2_total, hmi, hyperfine, ipHYDROGEN, LIMELM, mean, phycon, radius, SMALLFLOAT, t_phycon::te, t_mean::TempEdenMeans, t_mean::TempEdenMeansNorm, t_mean::TempMeans, t_mean::TempMeansNorm, t_hyperfine::Tspin21cm, t_dense::xIonDense, t_mean::xIonEdenMeans, t_mean::xIonEdenMeansNorm, t_mean::xIonMeans, and t_mean::xIonMeansNorm.

void MeanIonRadius ( char  chType,
long int  nelem,
long int *  n,
realnum  arlog[],
bool  lgDensity 
)

MeanIonRadius derive mean ionization fractions over ravius for some element

Parameters:
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, t_dense::lgElmtOn, MAX2, mean, and t_mean::xIonMeans.

Referenced by cdIonFrac(), and cdTemp().

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

Parameters:
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, t_dense::lgElmtOn, MAX2, mean, and t_mean::xIonMeans.

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.


Variable Documentation

EXTERN struct t_mean mean

ionmeans.h

Referenced by cdB21cm(), cdColm(), cdTemp(), MeanInc(), MeanIonRadius(), MeanIonVolume(), and MeanZero().


Generated on Mon Feb 16 12:09:07 2009 for cloudy by  doxygen 1.4.7