#include "cddefines.h"#include "dynamics.h"#include "trace.h"#include "elementnames.h"#include "punch.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 dependency graph for conv_base.cpp:

Go to the source code of this file.
Defines | |
| #define | LOOP_ION_LIMIT 10 |
Functions | |
| STATIC bool | lgIonizConverg (long int nelem, double delta, bool lgPrint) |
| int | ConvBase (long loopi) |
| #define LOOP_ION_LIMIT 10 |
| 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
| loopi | this 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 |
Definition at line 139 of file conv_base.cpp.
References ASSERT, co, t_co::comole_eden, conv, t_thermal::ctot, DEBUG_ENTRY, dense, eden_sum(), t_dense::EdenTrue, fnzone, fp_equal(), gv, t_thermal::htot, ipH_LIKE, t_dense::lgElmtOn, LIMELM, N_H_MOLEC, NISO, t_conv::nPres2Ioniz, t_conv::nTotalIoniz, nzone, phycon, PresTotCurrent(), StatesElem, t_phycon::te, t_thermal::te_update, thermal, and t_gv::TotalEden.
Referenced by ConvIoniz(), and ion_recombAGN().
Here is the call graph for this function:

| STATIC bool lgIonizConverg | ( | long int | nelem, | |
| double | delta, | |||
| bool | lgPrint | |||
| ) |
Definition at line 34 of file conv_base.cpp.
References ASSERT, t_conv::BadConvIoniz, conv, DEBUG_ENTRY, dense, t_dense::gas_phase, t_dense::lgElmtOn, LIMELM, MAX2, t_conv::nPres2Ioniz, and t_dense::xIonDense.
1.4.7