cloudy trunk
Loading...
Searching...
No Matches
conv_base.cpp File Reference
#include "cddefines.h"
#include "dynamics.h"
#include "trace.h"
#include "elementnames.h"
#include "save.h"
#include "phycon.h"
#include "secondaries.h"
#include "stopcalc.h"
#include "grainvar.h"
#include "highen.h"
#include "dense.h"
#include "hmi.h"
#include "rfield.h"
#include "pressure.h"
#include "taulines.h"
#include "rt.h"
#include "grains.h"
#include "atmdat.h"
#include "ionbal.h"
#include "opacity.h"
#include "cooling.h"
#include "thermal.h"
#include "mole.h"
#include "iso.h"
#include "conv.h"
#include "h2.h"
#include "deuterium.h"
Include dependency graph for conv_base.cpp:

Go to the source code of this file.

Functions

STATIC bool lgNetEdenSrcSmall (void)
void UpdateUTAs (void)
int ConvBase (long loopi)

Function Documentation

◆ ConvBase()

int ConvBase ( long loopi)

ConvBase main routine to drive ionization solution for all species, find total opacity called by ConvIoniz/ lgConverg check whether ionization of element nelem has converged

Parameters
loopithis tells how many times ConvBase has been called by ConvIoniz while trying to converge electron density == 0 on first call - allows logic in ConvBase to check for ots oscillations
Todo
0 PvH prefers test against err/10

Definition at line 163 of file conv_base.cpp.

References ASSERT, atmdat, atmdat_3body(), ChargTranEval(), ChargTranSumHeat(), conv, CONV_BASE_ACCELS, CONV_BASE_CALLS, CONV_BASE_LOOPS, CoolEvaluate(), DEBUG_ENTRY, molezone::den, dense, deut, diatoms, DumpLine(), DynaIonize(), dynamics, eden_sum(), findspecieslocal(), fixit(), fnzone, fp_equal(), GrainDrive(), gv, HeatSum(), HeatZero(), highen(), hmi, INPUT_LINE_LENGTH, ion_recom_calculate(), ion_trim(), ion_wrapper(), ionbal, ioQQQ, ipH_LIKE, ipHELIUM, ipHYDROGEN, ipNICKEL, ipOXYGEN, iso_collapsed_update(), iso_renorm(), iso_sp, iso_update_rates(), iteration, lgAbort, lgElemsConserved(), lgNetEdenSrcSmall(), lgStatesConserved(), LIMELM, MAX2, MIN2, mole, mole_drive(), mole_global, mole_update_sources(), NISO, nzone, opac, OpacityAddTotal(), phycon, PresTotCurrent(), rfield, RT_line_all(), RT_OTS(), RT_OTS_PrtRate(), RT_OTS_Update(), save, SDIV(), secondaries, SetDeuteriumIonization(), SMALLFLOAT, StopCalc, TauLines, thermal, TorF(), trace, UpdateUTAs(), x0, x1, and x2.

Referenced by ConvInitSolution(), ConvIoniz(), and ion_recombAGN().

Here is the call graph for this function:

◆ lgNetEdenSrcSmall()

STATIC bool lgNetEdenSrcSmall ( void )

Definition at line 1133 of file conv_base.cpp.

References conv, DEBUG_ENTRY, dense, findspecies(), fixit(), gv, molecule::index, ionbal, ioQQQ, LIMELM, mole, nzone, SDIV(), and STATIC.

Referenced by ConvBase().

Here is the call graph for this function:

◆ UpdateUTAs()

void UpdateUTAs ( void )

Definition at line 1086 of file conv_base.cpp.

References conv, DEBUG_ENTRY, dense, ionbal, ioQQQ, LIMELM, nUTA, and UTALines.

Referenced by ConvBase().