cloudy  trunk
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
mean.cpp File Reference
#include "cddefines.h"
#include "physconst.h"
#include "radius.h"
#include "dense.h"
#include "hyperfine.h"
#include "magnetic.h"
#include "hmi.h"
#include "phycon.h"
#include "geometry.h"
#include "mean.h"
Include dependency graph for mean.cpp:

Go to the source code of this file.

Macros

#define NAVER   20
 

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)
 

Macro Definition Documentation

#define NAVER   20

Referenced by aver().

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

Referenced by H2_Create(), IterStart(), PrtFinal(), and radius_increment().

Here is the call graph for this function:

void MeanInc ( void  )
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
chTypeeither 'i' or 't' for ionization or temperature
nelematomic number on physical, no c, scale
*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 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

Parameters
chTypeeither 'i' or 't' for ionization or temperature
nelematomic number on physical, no c, scale
*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 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  )

Generated for cloudy by doxygen 1.8.4