Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
prt_meanion.cpp File Reference
#include "cddefines.h"
#include "prt.h"
#include "geometry.h"
#include "dense.h"
#include "mean.h"
#include "elementnames.h"
Include dependency graph for prt_meanion.cpp:

Functions

void PrtMeanIon (char chType, bool lgDensity, FILE *ioMEAN)
 

Function Documentation

void PrtMeanIon ( char  chType,
bool  lgDensity,
FILE *   
)

PrtMeanIon print mean ionization fractions for all elements, output will go to stream pointed to by argument chTyp is either 'i' or 't' for mean ionization or temperature

Parameters
chType
lgDensitytrue include density, false do not

References t_elementnames::chElementName, DEBUG_ENTRY, dense, elementnames, fprintf(), geometry, ioQQQ, ipHELIUM, ipHYDROGEN, t_dense::lgElmtOn, t_geometry::lgGeoPP, LIMELM, mean, t_mean::MeanIon(), MIN2, and TotalInsanity().

Referenced by PrtFinal(), and SaveDo().

Here is the call graph for this function: