cloudy trunk
Loading...
Searching...
No Matches
iterations.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  t_iterations

Functions

void IterStart (void)
void IterRestart (void)
void IterEnd (void)
int iter_end_check (void)

Variables

t_iterations iterations

Function Documentation

◆ iter_end_check()

int iter_end_check ( void )

iter_end_check called by Cloudy after each zone to determine whether iteration is complete returns true if iteration is complete, false if not

Definition at line 37 of file iter_end_chk.cpp.

References ASSERT, BIGFLOAT, called, cdEXIT, colden, conv, cpu, DEBUG_ENTRY, dense, dmpary(), EPS, EXIT_FAILURE, findspecieslocal(), geometry, hcmap, HFLines, hmi, Singleton< t_PredCont >::Inst(), ioMAP, ioQQQ, ipCOL_H0, ipCOL_H2g, ipCOL_H2s, ipCOL_Hp, ipCOL_HTOT, ipHYDROGEN, ipOXYGEN, iteration, iterations, lgAbort, LineSv, map_do(), MAX2, mole, mole_global, nCHREASONSTOP, nzone, t_PredCont::offset(), opac, phycon, pressure, prt, PrtLinePres(), PrtZone(), radius, rfield, SDIV(), ShowMe(), SMALLFLOAT, sprt_wl(), StopCalc, TempChange(), thermal, TotalInsanity(), trace, unresolved_atom_list, wavelength, and wind.

Referenced by cloudy().

Here is the call graph for this function:

◆ IterEnd()

void IterEnd ( void )

close out this iteration

Definition at line 1159 of file iter_startend.cpp.

References ASSERT, colden, DEBUG_ENTRY, dynamics, geometry, ioQQQ, iteration, lgAbort, LineSave, LineSv, nzone, opac, radius, rfield, SDIV(), sexp(), SMALLFLOAT, and struc.

Referenced by cloudy().

Here is the call graph for this function:

◆ IterRestart()

◆ IterStart()

void IterStart ( void )

IterStart, set and save values of many variables at start of iteration

Definition at line 89 of file iter_startend.cpp.

References ASSERT, atmdat, atoms, BIGFLOAT, BOLTZMANN, called, cdEXIT, cdLine(), co, colden, conv, d5200r, dBaseSpecies, DEBUG_ENTRY, den_save, dense, deriv_HeatH2Dexc_used_save, deut, deutDenseSave0, deutDenseSave1, diatoms, drNextSave, drSave, DynaIterStart(), dynamics, e2(), edsav, EXIT_FAILURE, gas_phase_save, geometry, GrainStartIter(), h2, H2_H2g_to_H2s_rate_used_save, H2_photodissoc_used_H2g_save, H2_photodissoc_used_H2s_save, H2_Solomon_dissoc_rate_used_H2g_save, H2_Solomon_dissoc_rate_used_H2s_save, h2plus_heat_save, he, HeatH2Dexc_used_save, HeatH2Dish_used_save, HeatSave, hmi, hmihet_save, hmitot_save, hnsav, HOpacRatSav, HS_NZ, hydro, hyperfine, Singleton< t_fe2ovr_la >::Inst(), ionbal, IonHighSave, IonLowSave, ioQQQ, ipH2p, ipH_LIKE, ipHYDROGEN, ipRecNetEsc, ipRecRad, iso_ctrl, iso_sp, iteration, iterations, lgAbort, lgHNSAV, LIMELM, LineSave, LineSv, MALLOC, mean, molcol(), mole, mole_global, N_OI_LEVELS, NCOLD, NISO, nSpecies, opac, ortho_save, p2nit, para_save, phycon, pressure, PresTotCurrent(), prt, radius, rfield, rt, SaveMoleChTrRate, saveMoleSink, saveMoleSource, SDIV(), secondaries, sexp(), StopCalc, supsav, thermal, timesc, trace, UV_Cont_rel2_Draine_DB96_depth, UV_Cont_rel2_Draine_DB96_face, UV_Cont_rel2_Habing_TH85_face, wind, xIonFsave, and t_fe2ovr_la::zero_opacity().

Referenced by cloudy().

Here is the call graph for this function:

Variable Documentation

◆ iterations