Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
iter_startend.cpp File Reference
#include "cddefines.h"
#include "cddrive.h"
#include "iso.h"
#include "taulines.h"
#include "hydrogenic.h"
#include "struc.h"
#include "dynamics.h"
#include "prt.h"
#include "hyperfine.h"
#include "magnetic.h"
#include "continuum.h"
#include "geometry.h"
#include "h2.h"
#include "co.h"
#include "he.h"
#include "grains.h"
#include "pressure.h"
#include "stopcalc.h"
#include "conv.h"
#include "mean.h"
#include "thermal.h"
#include "atoms.h"
#include "wind.h"
#include "opacity.h"
#include "timesc.h"
#include "trace.h"
#include "colden.h"
#include "secondaries.h"
#include "hmi.h"
#include "radius.h"
#include "phycon.h"
#include "called.h"
#include "ionbal.h"
#include "atmdat.h"
#include "lines.h"
#include "molcol.h"
#include "input.h"
#include "rt.h"
#include "iterations.h"
#include "cosmology.h"
#include "deuterium.h"
#include "mole.h"
#include "rfield.h"
#include "freebound.h"
#include "two_photon.h"
#include "dense.h"
Include dependency graph for iter_startend.cpp:

Functions

void IterStart ()
 
void IterRestart (void)
 
void IterEnd (void)
 

Variables

static double h2plus_heat_save
 
static double HeatH2Dish_used_save
 
static double HeatH2Dexc_used_save
 
static double hmihet_save
 
static double hmitot_save
 
static double H2_Solomon_dissoc_rate_used_H2g_save
 
static double deriv_HeatH2Dexc_used_save
 
static double H2_Solomon_dissoc_rate_used_H2s_save
 
static double H2_H2g_to_H2s_rate_used_save
 
static double H2_photodissoc_used_H2s_save
 
static double H2_photodissoc_used_H2g_save
 
static double UV_Cont_rel2_Draine_DB96_face
 
static double UV_Cont_rel2_Draine_DB96_depth
 
static double UV_Cont_rel2_Habing_TH85_face
 
static multi_arr< double, 2 > saveMoleSource
 
static multi_arr< double, 2 > saveMoleSink
 
static multi_arr< realnum, 3 > SaveMoleChTrRate
 
static realnum xIonFsave [LIMELM][LIMELM+1]
 
static realnum deutDenseSave0
 
static realnum deutDenseSave1
 
static double HeatSave [LIMELM][LIMELM]
 
static realnum supsav [LIMELM][LIMELM]
 
static realnum p2nit
 
static realnum d5200r
 
static double drSave
 
static double drNextSave
 
static long int IonLowSave [LIMELM]
 
static long int IonHighSave [LIMELM]
 
static bool lgHNSAV = false
 
static multi_arr< double, 3 > HOpacRatSav
 
static double ortho_save
 
static double para_save
 
static double edsav
 
static multi_arr< double, 3 > hnsav
 
static realnum gas_phase_save [LIMELM]
 
static vector< double > den_save
 

Function Documentation

◆ IterEnd()

void IterEnd ( void )

close out this iteration

References colden, DEBUG_ENTRY, dynamics, fprintf(), geometry, ioQQQ, iteration, iterations, LineSave, nzone, opac, radius, rfield, SDIV(), sexp(), SMALLFLOAT, struc, and TotalInsanity().

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

References ASSERT, atmdat, atoms, BIGFLOAT, 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, ExtraLymanLinesHeLike, ExtraLymanLinesJ05, ExtraLymanLinesJ15, fprintf(), 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, ionbal, IonHighSave, IonLowSave, ioQQQ, ipExtraLymanLinesHeLike, ipExtraLymanLinesJ05, ipExtraLymanLinesJ15, ipH2p, ipH_LIKE, ipHE_LIKE, ipHYDROGEN, ipRecNetEsc, ipRecRad, iso_ctrl, iso_sp, iteration, iterations, lgHNSAV, LIMELM, LineSave, mean, molcol(), mole, mole_global, NCOLD, NISO, nSpecies, NULL, opac, ortho_save, p2nit, para_save, phycon, pressure, PresTotCurrent(), prt, prt_line_err(), radius, rfield, rt, SaveMoleChTrRate, saveMoleSink, saveMoleSource, SDIV(), secondaries, sexp(), SMALLFLOAT, StopCalc, supsav, thermal, timesc, trace, UV_Cont_rel2_Draine_DB96_depth, UV_Cont_rel2_Draine_DB96_face, UV_Cont_rel2_Habing_TH85_face, wind, and xIonFsave.

Referenced by cloudy().

Here is the call graph for this function:

Variable Documentation

◆ d5200r

realnum d5200r
static

Referenced by IterRestart(), and IterStart().

◆ den_save

vector<double> den_save
static

Referenced by IterRestart(), and IterStart().

◆ deriv_HeatH2Dexc_used_save

double deriv_HeatH2Dexc_used_save
static

Referenced by IterRestart(), and IterStart().

◆ deutDenseSave0

realnum deutDenseSave0
static

Referenced by IterRestart(), and IterStart().

◆ deutDenseSave1

realnum deutDenseSave1
static

Referenced by IterRestart(), and IterStart().

◆ drNextSave

double drNextSave
static

Referenced by IterRestart(), and IterStart().

◆ drSave

double drSave
static

Referenced by IterRestart(), and IterStart().

◆ edsav

double edsav
static

Referenced by IterRestart(), and IterStart().

◆ gas_phase_save

realnum gas_phase_save[LIMELM]
static

Referenced by IterRestart(), and IterStart().

◆ H2_H2g_to_H2s_rate_used_save

double H2_H2g_to_H2s_rate_used_save
static

Referenced by IterRestart(), and IterStart().

◆ H2_photodissoc_used_H2g_save

double H2_photodissoc_used_H2g_save
static

Referenced by IterRestart(), and IterStart().

◆ H2_photodissoc_used_H2s_save

double H2_photodissoc_used_H2s_save
static

Referenced by IterRestart(), and IterStart().

◆ H2_Solomon_dissoc_rate_used_H2g_save

double H2_Solomon_dissoc_rate_used_H2g_save
static

Referenced by IterRestart(), and IterStart().

◆ H2_Solomon_dissoc_rate_used_H2s_save

double H2_Solomon_dissoc_rate_used_H2s_save
static

Referenced by IterRestart(), and IterStart().

◆ h2plus_heat_save

double h2plus_heat_save
static

Referenced by IterRestart(), and IterStart().

◆ HeatH2Dexc_used_save

double HeatH2Dexc_used_save
static

Referenced by IterRestart(), and IterStart().

◆ HeatH2Dish_used_save

double HeatH2Dish_used_save
static

Referenced by IterRestart(), and IterStart().

◆ HeatSave

double HeatSave[LIMELM][LIMELM]
static

Referenced by IterRestart(), and IterStart().

◆ hmihet_save

double hmihet_save
static

Referenced by IterRestart(), and IterStart().

◆ hmitot_save

double hmitot_save
static

Referenced by IterRestart(), and IterStart().

◆ hnsav

multi_arr<double,3> hnsav
static

Referenced by IterRestart(), and IterStart().

◆ HOpacRatSav

multi_arr<double,3> HOpacRatSav
static

Referenced by IterRestart(), and IterStart().

◆ IonHighSave

long int IonHighSave[LIMELM]
static

Referenced by IterRestart(), and IterStart().

◆ IonLowSave

long int IonLowSave[LIMELM]
static

Referenced by IterRestart(), and IterStart().

◆ lgHNSAV

bool lgHNSAV = false
static

Referenced by IterStart().

◆ ortho_save

double ortho_save
static

Referenced by IterRestart(), and IterStart().

◆ p2nit

realnum p2nit
static

Referenced by IterRestart(), and IterStart().

◆ para_save

double para_save
static

Referenced by IterRestart(), and IterStart().

◆ SaveMoleChTrRate

multi_arr<realnum,3> SaveMoleChTrRate
static

Referenced by IterRestart(), and IterStart().

◆ saveMoleSink

multi_arr<double,2> saveMoleSink
static

Referenced by IterRestart(), and IterStart().

◆ saveMoleSource

multi_arr<double,2> saveMoleSource
static

Referenced by IterRestart(), and IterStart().

◆ supsav

realnum supsav[LIMELM][LIMELM]
static

Referenced by IterRestart(), and IterStart().

◆ UV_Cont_rel2_Draine_DB96_depth

double UV_Cont_rel2_Draine_DB96_depth
static

Referenced by IterRestart(), and IterStart().

◆ UV_Cont_rel2_Draine_DB96_face

double UV_Cont_rel2_Draine_DB96_face
static

Referenced by IterRestart(), and IterStart().

◆ UV_Cont_rel2_Habing_TH85_face

double UV_Cont_rel2_Habing_TH85_face
static

Referenced by IterRestart(), and IterStart().

◆ xIonFsave

realnum xIonFsave[LIMELM][LIMELM+1]
static

Referenced by IterRestart(), and IterStart().