/home66/gary/public_html/cloudy/c13_branch/source/rt_ots.cpp File Reference

#include "cddefines.h"
#include "taulines.h"
#include "opacity.h"
#include "dense.h"
#include "iso.h"
#include "mole.h"
#include "hmi.h"
#include "h2.h"
#include "rfield.h"
#include "conv.h"
#include "rt.h"
#include "atomfeii.h"
#include "heavy.h"
#include "he.h"
#include "trace.h"
Include dependency graph for rt_ots.cpp:

Go to the source code of this file.

Functions

STATIC void RT_OTS_AddCont (realnum ots, long int ip)
void RT_OTS (void)
void RT_OTS_AddLine (double ots, long int ip)
void RT_OTS_Update (double *SumOTS)
void RT_OTS_Zero (void)
void RT_OTS_ChkSum (long int ipPnt)
void RT_OTS_PrtRate (double weak, int chFlag)

Variables

static int nOTS_Line_type = -1
static int nOTS1 = -1
static int nOTS2 = -1

Function Documentation

void RT_OTS ( void   ) 
STATIC void RT_OTS_AddCont ( realnum  ots,
long int  ip 
)

Definition at line 451 of file rt_ots.cpp.

References ASSERT, DEBUG_ENTRY, t_rfield::nflux, t_rfield::nupper, opac, t_opac::opacity_abs, t_rfield::otscon, and rfield.

Referenced by RT_OTS().

void RT_OTS_AddLine ( double  ots,
long int  ip 
)

RT_OTS_AddLine add local destruction of lines to ots field

Parameters:
ots 
ip pointer on the f scale

Definition at line 402 of file rt_ots.cpp.

References ASSERT, DEBUG_ENTRY, ioQQQ, iteration, t_rfield::nflux, nOTS1, nOTS2, nOTS_Line_type, opac, t_opac::opacity_abs, t_rfield::otslin, and rfield.

Referenced by atom_level3(), FeII_OTS(), diatomics::H2_RT_OTS(), and RT_OTS().

void RT_OTS_ChkSum ( long int  ipPnt  ) 
void RT_OTS_PrtRate ( double  weak,
int  chFlag 
)

RT_OTS_PrtRate print ots arrays, called by ionize

Parameters:
weak arg is weakest rate to print
chFlag flag, 'c' continuum, 'l' line, 'b' both

Definition at line 690 of file rt_ots.cpp.

References t_rfield::anu, ASSERT, t_rfield::chContLabel, t_rfield::chLineLabel, conv, DEBUG_ENTRY, dense, fnzone, t_dense::gas_phase, ioQQQ, ipHELIUM, ipOXYGEN, t_conv::lgConvIoniz(), t_rfield::line_count, t_rfield::nupper, opac, t_opac::opacity_abs, t_rfield::otscon, t_rfield::otslin, rfield, TorF(), and t_dense::xIonDense.

Referenced by ConvBase().

Here is the call graph for this function:

void RT_OTS_Update ( double *  SumOTS  ) 

RTOTSUpdata sum flux, otscon, otslin, ConInterOut, outlin, to form SummeDif, SummedCon SummedOcc, int * is pointer to energy in continuum where this change happened,

Parameters:
SumOTS 
Returns:
sum of ots rates

Definition at line 488 of file rt_ots.cpp.

References t_rfield::anu2, ASSERT, t_rfield::ConInterOut, t_rfield::ConOTS_local_OTS_rate, t_rfield::ConOTS_local_photons, t_rfield::ContBoltz, t_rfield::convoc, DEBUG_ENTRY, fixit(), t_rfield::flux, t_rfield::flux_accum, t_rfield::ipEnergyBremsThin, t_rfield::ipPlasma, t_rfield::lgKillOTSLine, t_rfield::lgOutOnly, MAX2, MIN2, t_rfield::nflux, t_rfield::OccNumbBremsCont, opac, t_opac::opacity_abs, t_rfield::otscon, t_rfield::otslin, t_rfield::outlin, t_rfield::outlin_noplot, rfield, SDIV(), SMALLDOUBLE, t_rfield::SummedCon, t_rfield::SummedDif, and t_rfield::SummedOcc.

Referenced by ConvBase(), and IterRestart().

Here is the call graph for this function:

void RT_OTS_Zero ( void   ) 

Variable Documentation

int nOTS1 = -1 [static]

Definition at line 29 of file rt_ots.cpp.

Referenced by RT_OTS(), and RT_OTS_AddLine().

int nOTS2 = -1 [static]

Definition at line 29 of file rt_ots.cpp.

Referenced by RT_OTS(), and RT_OTS_AddLine().

int nOTS_Line_type = -1 [static]

Definition at line 28 of file rt_ots.cpp.

Referenced by RT_OTS(), and RT_OTS_AddLine().

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

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1