cloudy trunk
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
t_mean Struct Reference

#include <mean.h>

Collaboration diagram for t_mean:
Collaboration graph
[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::t_mean ( )

Member Function Documentation

◆ MeanInc()

void t_mean::MeanInc ( )

◆ MeanIon()

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
chTypeeither 'i' or 't' for ionization or temperature
nelematomic number on physical, no c, scale
dimtype of average: 0=radius, 1=area, 2=volume
*nthis will say how many of arlog have non-zero values
arlog[]array of values, log both cases
lgDensitytrue, include electron density, false do not

Definition at line 152 of file mean.cpp.

References DEBUG_ENTRY, dense, ioQQQ, t_dense::lgElmtOn, max(), mean, SMALLFLOAT, TempIonEdenMean, TempIonMean, TotalInsanity(), xIonEdenMean, and xIonMean.

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

Here is the call graph for this function:

◆ MeanZero()

void t_mean::MeanZero ( )

MeanZero zero mean of ionization fractions array

Definition at line 51 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

◆ TempB_HarMean

multi_arr<double,2> t_mean::TempB_HarMean

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().

◆ TempEdenMean

multi_arr<double,2> t_mean::TempEdenMean

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().

◆ TempH_21cmSpinMean

multi_arr<double,2> t_mean::TempH_21cmSpinMean

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().

◆ TempHarMean

multi_arr<double,2> t_mean::TempHarMean

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().

◆ TempIonEdenMean

multi_arr<double,4> t_mean::TempIonEdenMean

following includes electron density

Definition at line 23 of file mean.h.

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

◆ TempIonMean

multi_arr<double,4> t_mean::TempIonMean

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(), MeanIon(), MeanZero(), PrtFinal(), and t_mean().

◆ TempMean

multi_arr<double,2> t_mean::TempMean

used to get mean temp

Definition at line 33 of file mean.h.

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

◆ xIonEdenMean

multi_arr<double,4> t_mean::xIonEdenMean

following includes electron density

Definition at line 16 of file mean.h.

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

◆ xIonMean

multi_arr<double,4> t_mean::xIonMean

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(), MeanIon(), MeanZero(), PrtFinal(), SaveDo(), SaveResults(), and t_mean().


The documentation for this struct was generated from the following files: