/home66/gary/public_html/cloudy/c10_branch/source/ionbal.h File Reference

#include "dense.h"
Include dependency graph for ionbal.h:

Go to the source code of this file.

Data Structures

class  t_ionbal

Defines

#define NSHELLS   7

Functions

void ion_recom_calculate (void)
void ion_trim (long int nelem)
void ion_zero (long int nelem)
void ion_collis (long nelem)
void ion_solver (long int nelem, bool lgPrintIt)
void ion_solver (long int nelem1, long int nelem2, bool lgPrintIt)
void ion_photo (long int nelem, bool lgPrintIt)
void ion_recomb (bool, const double *, const double *, const double[], const double[], const double[], const double[], const double[], const double[], long)
void ion_recombAGN (FILE *io)
void ion_wrapper (long nelem)
void Badnell_rec_init (void)
void IonAlumi (void)
void IonArgon (void)
void IonBeryl (void)
void IonBoron (void)
void IonCalci (void)
void IonCarbo (void)
void IonChlor (void)
void IonChrom (void)
void IonCobal (void)
void IonCoppe (void)
void IonFluor (void)
void IonHelium (void)
void IonIron (void)
void IonLithi (void)
void IonMagne (void)
void IonManga (void)
void IonNeon (void)
void IonNicke (void)
void IonNitro (void)
void IonOxyge (void)
void IonPhosi (void)
void IonPotas (void)
void IonScand (void)
void IonSilic (void)
void IonSodiu (void)
void IonSulph (void)
void IonTitan (void)
void IonVanad (void)
void IonZinc (void)

Variables

EXTERN t_ionbal ionbal

Define Documentation

#define NSHELLS   7

max number of shells we ever have to deal with

Definition at line 96 of file ionbal.h.

Referenced by zero().


Function Documentation

void Badnell_rec_init ( void   ) 
void ion_collis ( long  nelem  ) 

ion_collis fill in collisional ionization rates, and resulting cooling

Parameters:
nelem element number on C scale, H is 0
void ion_photo ( long int  nelem,
bool  lgPrintIt 
)
void ion_recom_calculate ( void   ) 
void ion_recomb ( bool  ,
const double *  ,
const double *  ,
const   double[],
const   double[],
const   double[],
const   double[],
const   double[],
const   double[],
long   
)

ion_recomb generate recombination coefficients for any species

void ion_recombAGN ( FILE *  io  ) 

ion_recombAGN generate recombination coefficients for AGN table

Definition at line 427 of file ion_recomb.cpp.

References abund, ASSERT, t_elementnames::chElementSym, ConvBase(), DEBUG_ENTRY, dense, t_dense::eden, elementnames, Heavy, ionbal, t_dense::IonHigh, t_dense::IonLow, ioQQQ, ipHYDROGEN, ipLITHIUM, t_abund::lgAGN, LIMELM, N1LIM, N2LIM, phycon, t_ionbal::RateRecomTot, t_phycon::te, TempChange(), and t_Heavy::Valence_IP_Ryd.

Referenced by SaveDo().

Here is the call graph for this function:

void ion_solver ( long int  nelem1,
long int  nelem2,
bool  lgPrintIt 
)

ion_solver same as above but solves two elements simultaneously

Parameters:
nelem1 
nelem2 
lgPrintIt - option to print details of matrix elements

Definition at line 96 of file ion_solver.cpp.

References ASSERT, cdEXIT, combine_arrays(), DEBUG_ENTRY, dense, ENABLE_SIMULTANEOUS_SOLUTION, fill_array(), find_solution(), get_total_abundance_ions(), ion_solver(), t_dense::IonHigh, t_dense::IonLow, ioQQQ, ipHYDROGEN, ipOXYGEN, t_prt::lgPrtArry, lgTrivialSolution(), LIMELM, MAT, PrintRates(), prt, source, store_new_densities(), and t_dense::xIonDense.

Here is the call graph for this function:

void ion_solver ( long int  nelem,
bool  lgPrintIt 
)

ion_solver solve the bi-diagonal matrix for ionization balance

Parameters:
nelem - element number on C scale, He is 1
lgPrintIt - option to print details of matrix elements

Definition at line 58 of file ion_solver.cpp.

References DEBUG_ENTRY, dense, fill_array(), find_solution(), get_total_abundance_ions(), t_dense::IonHigh, t_dense::IonLow, lgHomogeneousSource(), t_prt::lgPrtArry, lgTrivialSolution(), LIMELM, PrintRates(), prt, source, and store_new_densities().

Referenced by ion_solver(), IonAlumi(), IonArgon(), IonBeryl(), IonBoron(), IonCalci(), IonCarbo(), IonChlor(), IonChrom(), IonCobal(), IonCoppe(), IonFluor(), IonHelium(), IonHydro(), IonIron(), IonLithi(), IonMagne(), IonManga(), IonNeon(), IonNicke(), IonNitro(), IonOxyge(), IonPhosi(), IonPotas(), IonScand(), IonSilic(), IonSodiu(), IonSulph(), IonTitan(), IonVanad(), and IonZinc().

Here is the call graph for this function:

void ion_trim ( long int  nelem  ) 
void ion_wrapper ( long  nelem  ) 
void ion_zero ( long int  nelem  ) 
void IonAlumi ( void   ) 
void IonArgon ( void   ) 

Definition at line 8 of file ion_argon.cpp.

References DEBUG_ENTRY, dense, ion_collis(), ion_photo(), ion_recomb(), ion_solver(), ion_zero(), ipARGON, and t_dense::lgElmtOn.

Referenced by ion_wrapper().

Here is the call graph for this function:

void IonBeryl ( void   ) 
void IonBoron ( void   ) 
void IonCalci ( void   ) 
void IonCarbo ( void   ) 
void IonChlor ( void   ) 

Definition at line 9 of file ion_chlor.cpp.

References atmdat, DEBUG_ENTRY, dense, t_atmdat::HCharExcRecTo, ion_collis(), ion_photo(), ion_recomb(), ion_solver(), ion_zero(), ipCHLORINE, and t_dense::lgElmtOn.

Referenced by ion_wrapper().

Here is the call graph for this function:

void IonChrom ( void   ) 

Definition at line 8 of file ion_chrom.cpp.

References DEBUG_ENTRY, dense, ion_collis(), ion_photo(), ion_recomb(), ion_solver(), ion_zero(), ipCHROMIUM, and t_dense::lgElmtOn.

Referenced by ion_wrapper().

Here is the call graph for this function:

void IonCobal ( void   ) 

Definition at line 8 of file ion_cobal.cpp.

References DEBUG_ENTRY, dense, ion_collis(), ion_photo(), ion_recomb(), ion_solver(), ion_zero(), ipCOBALT, and t_dense::lgElmtOn.

Referenced by ion_wrapper().

Here is the call graph for this function:

void IonCoppe ( void   ) 

Definition at line 8 of file ion_coppe.cpp.

References DEBUG_ENTRY, dense, ion_collis(), ion_photo(), ion_recomb(), ion_solver(), ion_zero(), ipCOPPER, and t_dense::lgElmtOn.

Referenced by ion_wrapper().

Here is the call graph for this function:

void IonFluor ( void   ) 

Definition at line 8 of file ion_fluor.cpp.

References DEBUG_ENTRY, dense, ion_collis(), ion_photo(), ion_recomb(), ion_solver(), ion_zero(), ipFLUORINE, and t_dense::lgElmtOn.

Referenced by ion_wrapper().

Here is the call graph for this function:

void IonHelium ( void   ) 
void IonIron ( void   ) 
void IonLithi ( void   ) 

Definition at line 8 of file ion_lithi.cpp.

References DEBUG_ENTRY, dense, ion_collis(), ion_photo(), ion_recomb(), ion_solver(), ion_zero(), ipLITHIUM, and t_dense::lgElmtOn.

Referenced by ion_wrapper().

Here is the call graph for this function:

void IonMagne ( void   ) 
void IonManga ( void   ) 

Definition at line 8 of file ion_manga.cpp.

References DEBUG_ENTRY, dense, ion_collis(), ion_photo(), ion_recomb(), ion_solver(), ion_zero(), ipMANGANESE, and t_dense::lgElmtOn.

Referenced by ion_wrapper().

Here is the call graph for this function:

void IonNeon ( void   ) 
void IonNicke ( void   ) 

Definition at line 8 of file ion_nicke.cpp.

References DEBUG_ENTRY, dense, ion_collis(), ion_photo(), ion_recomb(), ion_solver(), ion_zero(), ipNICKEL, and t_dense::lgElmtOn.

Referenced by ion_wrapper().

Here is the call graph for this function:

void IonNitro ( void   ) 
void IonOxyge ( void   ) 
void IonPhosi ( void   ) 

Definition at line 8 of file ion_phosi.cpp.

References DEBUG_ENTRY, dense, ion_collis(), ion_photo(), ion_recomb(), ion_solver(), ion_zero(), ipPHOSPHORUS, and t_dense::lgElmtOn.

Referenced by ion_wrapper().

Here is the call graph for this function:

void IonPotas ( void   ) 

Definition at line 8 of file ion_potas.cpp.

References DEBUG_ENTRY, dense, t_dense::eden, ion_collis(), ion_photo(), ion_recomb(), ion_solver(), ion_zero(), ionbal, ipPOTASSIUM, t_dense::lgElmtOn, phycon, pow(), t_ionbal::RateRecomTot, and t_phycon::te.

Referenced by ion_wrapper().

Here is the call graph for this function:

void IonScand ( void   ) 

Definition at line 8 of file ion_scand.cpp.

References DEBUG_ENTRY, dense, ion_collis(), ion_photo(), ion_recomb(), ion_solver(), ion_zero(), ipSCANDIUM, and t_dense::lgElmtOn.

Referenced by ion_wrapper().

Here is the call graph for this function:

void IonSilic ( void   ) 

Definition at line 8 of file ion_silic.cpp.

References DEBUG_ENTRY, dense, ion_collis(), ion_photo(), ion_recomb(), ion_solver(), ion_zero(), ipSILICON, and t_dense::lgElmtOn.

Referenced by ion_wrapper().

Here is the call graph for this function:

void IonSodiu ( void   ) 
void IonSulph ( void   ) 

Definition at line 8 of file ion_sulph.cpp.

References DEBUG_ENTRY, dense, ion_collis(), ion_photo(), ion_recomb(), ion_solver(), ion_zero(), ipSULPHUR, and t_dense::lgElmtOn.

Referenced by ion_wrapper().

Here is the call graph for this function:

void IonTitan ( void   ) 

Definition at line 8 of file ion_titan.cpp.

References DEBUG_ENTRY, dense, ion_collis(), ion_photo(), ion_recomb(), ion_solver(), ion_zero(), ipTITANIUM, and t_dense::lgElmtOn.

Referenced by ion_wrapper().

Here is the call graph for this function:

void IonVanad ( void   ) 

Definition at line 8 of file ion_vanad.cpp.

References DEBUG_ENTRY, dense, ion_collis(), ion_photo(), ion_recomb(), ion_solver(), ion_zero(), ipVANADIUM, and t_dense::lgElmtOn.

Referenced by ion_wrapper().

Here is the call graph for this function:

void IonZinc ( void   ) 

Definition at line 8 of file ion_zinc.cpp.

References DEBUG_ENTRY, dense, ion_collis(), ion_photo(), ion_recomb(), ion_solver(), ion_zero(), ipZINC, and t_dense::lgElmtOn.

Referenced by ion_wrapper().

Here is the call graph for this function:


Variable Documentation

EXTERN t_ionbal ionbal
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1