t_mean Struct Reference

#include <mean.h>

Collaboration diagram for t_mean:
[legend]

Public Member Functions

 t_mean ()
void MeanZero ()
void MeanInc ()
void MeanIon (char chType, long nelem, long dim, long *n, realnum arlog[], bool lgDensity) const

Data Fields

multi_arr< double, 4 > xIonMean
multi_arr< double, 4 > xIonEdenMean
multi_arr< double, 4 > TempIonMean
multi_arr< double, 4 > TempIonEdenMean
multi_arr< double, 2 > TempB_HarMean
multi_arr< double, 2 > TempHarMean
multi_arr< double, 2 > TempH_21cmSpinMean
multi_arr< double, 2 > TempMean
multi_arr< double, 2 > TempEdenMean

Detailed Description

used to store information for mean ionization and electron temperature

Definition at line 9 of file mean.h.


Constructor & Destructor Documentation

t_mean::t_mean (  ) 

Member Function Documentation

void t_mean::MeanInc (  ) 
void t_mean::MeanIon ( char  chType,
long  nelem,
long  dim,
long *  n,
realnum  arlog[],
bool  lgDensity 
) const

MeanIon do mean of ionization fractions of any element

Parameters:
chType either 'i' or 't' for ionization or temperature
nelem atomic number on physical, no c, scale
dim type of average: 0=radius, 1=area, 2=volume
*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

Referenced by cdIonFrac(), cdTemp(), and PrtMeanIon().

void t_mean::MeanZero (  ) 

MeanZero zero mean of ionization fractions array

Definition at line 49 of file mean.cpp.

References DEBUG_ENTRY, mean, TempB_HarMean, TempEdenMean, TempH_21cmSpinMean, TempHarMean, TempIonEdenMean, TempIonMean, TempMean, xIonEdenMean, xIonMean, and multi_arr< T, d, ALLOC, lgBC >::zero().

Referenced by IterStart(), and zero().

Here is the call graph for this function:


Field Documentation

mean B weighted by n(H0) / T as in 21 cm measures

Definition at line 26 of file mean.h.

Referenced by cdB21cm(), MeanInc(), MeanZero(), and t_mean().

used to get mean temp weighted by eden

Definition at line 35 of file mean.h.

Referenced by cdTemp(), MeanInc(), MeanZero(), PrtFinal(), and t_mean().

this is mean of computed 21 cm spin temperature

Definition at line 31 of file mean.h.

Referenced by cdTemp(), MeanInc(), MeanZero(), and t_mean().

this is used to get the harmonic mean temperature with respect to atomic hydrogen density, for comparison with 21cm data

Definition at line 29 of file mean.h.

Referenced by cdTemp(), MeanInc(), MeanZero(), and t_mean().

following includes electron density

Definition at line 23 of file mean.h.

Referenced by MeanInc(), MeanZero(), PrtFinal(), and t_mean().

TempIonMean[dim][nelem][stage][n] dim = 0 is radius integration, 1=area integration, 2=vol integration n=0 for Sum(quant*norm) and n=1 for Sum(norm)

Definition at line 21 of file mean.h.

Referenced by cdTemp(), MeanInc(), MeanZero(), PrtFinal(), and t_mean().

used to get mean temp

Definition at line 33 of file mean.h.

Referenced by cdTemp(), MeanInc(), MeanZero(), PrtFinal(), and t_mean().

following includes electron density

Definition at line 16 of file mean.h.

Referenced by MeanInc(), MeanZero(), and t_mean().

xIonMean[dim][nelem][ion][n] dim = 0 is radius integration, 1=area integration, 2=vol integration n=0 for Sum(quant*norm) and n=1 for Sum(norm)

Definition at line 14 of file mean.h.

Referenced by cdColm(), MeanInc(), MeanZero(), PrtFinal(), SaveDo(), SaveResults(), and t_mean().


The documentation for this struct was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1