/home66/gary/public_html/cloudy/c08_branch/source/iter_startend.cpp File Reference

#include "cddefines.h"
#include "cddrive.h"
#include "physconst.h"
#include "iso.h"
#include "grainvar.h"
#include "taulines.h"
#include "hydrogenic.h"
#include "struc.h"
#include "dynamics.h"
#include "prt.h"
#include "hyperfine.h"
#include "dense.h"
#include "magnetic.h"
#include "continuum.h"
#include "geometry.h"
#include "h2.h"
#include "he.h"
#include "grains.h"
#include "atomfeii.h"
#include "pressure.h"
#include "stopcalc.h"
#include "conv.h"
#include "mean.h"
#include "ca.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 "mole.h"
#include "rfield.h"
#include "ionbal.h"
#include "atmdat.h"
#include "lines.h"
#include "molcol.h"
#include "input.h"
#include "rt.h"
#include "iterations.h"

Include dependency graph for iter_startend.cpp:

Go to the source code of this file.

Functions

void IterStart (void)
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 double ** saveMoleSource
static double ** saveMoleSink
static realnum *** SaveMoleChTrRate
static realnum xIonFsave [LIMELM+3][LIMELM+1]
static double HeatSave [LIMELM][LIMELM]
static realnum supsav [LIMELM][LIMELM]
static realnum dndtSave
static double drSave
static double drNextSave
static long int IonLowSave [LIMELM]
static long int IonHighSave [LIMELM]
static bool lgHNSAV = false
static realnum *** HOpacRatSav
static realnum H_sum_in_CO_save
static realnum hmsav [N_H_MOLEC]
static double ortho_save
static double para_save
static double *** hnsav
static double edsav
static realnum xMolFracsSave [LIMELM]
static realnum gas_phase_save [LIMELM]


Function Documentation

void IterEnd ( void   ) 

close out this iteration

Definition at line 1196 of file iter_startend.cpp.

References ASSERT, t_rfield::ConInterOut, DEBUG_ENTRY, t_radius::depth, t_struc::depth, t_struc::depth_last, t_geometry::DirectionalCosin, t_struc::drad, t_struc::drad_last, t_radius::drad_x_fillfac, geometry, ioQQQ, iteration, t_geometry::lgGeoPP, t_rfield::nflux, t_struc::nzone, t_struc::nzone_last, opac, t_opac::opacity_abs, t_rfield::outlin, t_rfield::outlin_noplot, radius, rfield, t_radius::rinner, t_radius::router, SDIV(), sexp(), SMALLFLOAT, and struc.

Referenced by cloudy().

Here is the call graph for this function:

void IterRestart ( void   ) 

IterRestart, reset values of many variables at start of iteration

Definition at line 838 of file iter_startend.cpp.

References t_wind::AccelAver, t_wind::AccelMax, t_wind::acldr, ASSERT, t_hmi::BiggestH2, ca, t_continuum::cn1216, t_continuum::cn4861, colden, t_colden::colden, t_colden::coldenH2_ov_vel, COmole, t_ionbal::CompRecoilHeatRate, t_ionbal::CompRecoilHeatRateSave, t_ionbal::CompRecoilIonRate, t_ionbal::CompRecoilIonRateSave, t_iso::ConOpacRatio, t_thermal::ConstTemp, continuum, t_secondaries::csupra, t_dynamics::dDensityDT, DEBUG_ENTRY, dense, t_hmi::deriv_HeatH2Dexc_used, deriv_HeatH2Dexc_used_save, dndtSave, t_radius::drad, t_radius::drNext, drNextSave, drSave, DynaEndIter(), dynamics, t_dense::eden, t_dense::EdenHCorr, t_dense::EdenTrue, edsav, t_rfield::EnergyBremsThin, t_rfield::extin_mag_B_extended, t_rfield::extin_mag_B_point, t_rfield::extin_mag_V_extended, t_rfield::extin_mag_V_point, t_dense::gas_phase, gas_phase_save, t_radius::glbdst, h2, t_hmi::H2_H2g_to_H2s_rate_used, H2_H2g_to_H2s_rate_used_save, t_hmi::H2_photodissoc_used_H2g, H2_photodissoc_used_H2g_save, t_hmi::H2_photodissoc_used_H2s, H2_photodissoc_used_H2s_save, H2_Reset(), t_hmi::H2_Solomon_dissoc_rate_used_H2g, H2_Solomon_dissoc_rate_used_H2g_save, t_hmi::H2_Solomon_dissoc_rate_used_H2s, H2_Solomon_dissoc_rate_used_H2s_save, t_hmi::H2_total, t_hmi::h2plus_heat, h2plus_heat_save, t_dense::H_sum_in_CO, H_sum_in_CO_save, t_colden::He123S, t_secondaries::HeatEfficPrimary, t_hmi::HeatH2Dexc_used, HeatH2Dexc_used_save, t_hmi::HeatH2Dish_used, HeatH2Dish_used_save, t_secondaries::hetsav, hmi, t_hmi::hmihet, hmihet_save, t_hmi::hmitot, hmitot_save, t_hmi::Hmolec, hmsav, hnsav, HOpacRatSav, ionbal, t_dense::IonHigh, IonHighSave, t_dense::IonLow, IonLowSave, ioQQQ, t_rfield::ipEnergyBremsThin, ipH1s, ipH_LIKE, ipHYDROGEN, ipMH2g, ipMH2s, isnan, iso, iteration, lgAbort, t_dynamics::lgAdvection, t_radius::lgDrMinUsed, t_dense::lgElmtOn, t_pressure::lgPradCap, t_pressure::lgPradDen, t_pressure::lgSonicPoint, t_pressure::lgStrongDLimbo, t_thermal::lgTemperatureConstant, t_thermal::lgTemperatureConstantCommandParsed, t_trace::lgTrace, t_trace::lgTrOvrd, t_thermal::lgUnstable, t_rfield::lgUSphON, t_wind::lgVelPos, Magnetic_reinit(), mole, t_trace::npsbug, t_trace::nTrConvg, t_mole::num_comole_calc, t_iso::numLevels_max, t_thermal::nUnstable, t_trace::nznbug, t_ca::oldcla, opac, t_h2::ortho_density, ortho_save, t_h2::para_density, para_save, t_pressure::pbeta, t_pressure::pinzon, t_pressure::PresInteg, pressure, t_pressure::RadBetaMax, radius, rfield, t_secondaries::savefi, SaveMoleChTrRate, saveMoleSink, saveMoleSource, t_secondaries::SecIon2PrimaryErg, secondaries, t_mole::sink, t_mole::source, StatesElem, t_opac::stimax, StopCalc, supsav, t_continuum::sv1216, t_continuum::sv4861, t_StopCalc::TeFloor, thermal, t_continuum::TotalLumin, t_continuum::totlsv, trace, t_hmi::UV_Cont_rel2_Draine_DB96_depth, UV_Cont_rel2_Draine_DB96_depth, t_hmi::UV_Cont_rel2_Draine_DB96_face, UV_Cont_rel2_Draine_DB96_face, t_hmi::UV_Cont_rel2_Habing_TH85_face, UV_Cont_rel2_Habing_TH85_face, wind, t_wind::windv, t_wind::windv0, t_secondaries::x12sav, t_secondaries::x12tot, t_mole::xMoleChTrRate, t_dense::xMolecules, molecule::xMoleFracMax, and xMolFracsSave.

Referenced by cloudy().

Here is the call graph for this function:

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 DEBUG_ENTRY, hnsav, HOpacRatSav, ioQQQ, ipH_LIKE, iso, lgHNSAV, t_trace::lgTrace, LIMELM, MALLOC, NISO, t_iso::numLevels_max, SaveMoleChTrRate, saveMoleSink, saveMoleSource, and trace.

Referenced by cloudy().


Variable Documentation

double deriv_HeatH2Dexc_used_save [static]

Definition at line 52 of file iter_startend.cpp.

Referenced by IterRestart().

realnum dndtSave [static]

Definition at line 64 of file iter_startend.cpp.

Referenced by IterRestart().

double drNextSave [static]

Definition at line 67 of file iter_startend.cpp.

Referenced by IterRestart().

double drSave [static]

Definition at line 67 of file iter_startend.cpp.

Referenced by IterRestart().

double edsav [static]

Definition at line 83 of file iter_startend.cpp.

Referenced by IterRestart().

realnum gas_phase_save[LIMELM] [static]

Definition at line 86 of file iter_startend.cpp.

Referenced by IterRestart().

double H2_H2g_to_H2s_rate_used_save [static]

Definition at line 52 of file iter_startend.cpp.

Referenced by IterRestart().

double H2_photodissoc_used_H2g_save [static]

Definition at line 52 of file iter_startend.cpp.

Referenced by IterRestart().

double H2_photodissoc_used_H2s_save [static]

Definition at line 52 of file iter_startend.cpp.

Referenced by IterRestart().

double H2_Solomon_dissoc_rate_used_H2g_save [static]

Definition at line 52 of file iter_startend.cpp.

Referenced by IterRestart().

double H2_Solomon_dissoc_rate_used_H2s_save [static]

Definition at line 52 of file iter_startend.cpp.

Referenced by IterRestart().

double h2plus_heat_save [static]

Definition at line 52 of file iter_startend.cpp.

Referenced by IterRestart().

realnum H_sum_in_CO_save [static]

Definition at line 77 of file iter_startend.cpp.

Referenced by IterRestart().

double HeatH2Dexc_used_save [static]

Definition at line 52 of file iter_startend.cpp.

Referenced by IterRestart().

double HeatH2Dish_used_save [static]

Definition at line 52 of file iter_startend.cpp.

Referenced by IterRestart().

double HeatSave[LIMELM][LIMELM] [static]

Definition at line 63 of file iter_startend.cpp.

double hmihet_save [static]

Definition at line 52 of file iter_startend.cpp.

Referenced by IterRestart().

double hmitot_save [static]

Definition at line 52 of file iter_startend.cpp.

Referenced by IterRestart().

realnum hmsav[N_H_MOLEC] [static]

Definition at line 80 of file iter_startend.cpp.

Referenced by IterRestart().

double*** hnsav [static]

Definition at line 83 of file iter_startend.cpp.

Referenced by IterRestart(), and IterStart().

realnum*** HOpacRatSav [static]

Definition at line 77 of file iter_startend.cpp.

Referenced by IterRestart(), and IterStart().

long int IonHighSave[LIMELM] [static]

Definition at line 70 of file iter_startend.cpp.

Referenced by IterRestart().

long int IonLowSave[LIMELM] [static]

Definition at line 70 of file iter_startend.cpp.

Referenced by IterRestart().

bool lgHNSAV = false [static]

Definition at line 75 of file iter_startend.cpp.

Referenced by IterStart().

double ortho_save [static]

Definition at line 82 of file iter_startend.cpp.

Referenced by IterRestart().

double para_save [static]

Definition at line 82 of file iter_startend.cpp.

Referenced by IterRestart().

realnum*** SaveMoleChTrRate [static]

Definition at line 59 of file iter_startend.cpp.

Referenced by IterRestart(), and IterStart().

double ** saveMoleSink [static]

Definition at line 52 of file iter_startend.cpp.

Referenced by IterRestart(), and IterStart().

double ** saveMoleSource [static]

Definition at line 52 of file iter_startend.cpp.

Referenced by IterRestart(), and IterStart().

realnum supsav[LIMELM][LIMELM] [static]

Definition at line 64 of file iter_startend.cpp.

Referenced by IterRestart().

double UV_Cont_rel2_Draine_DB96_depth [static]

Definition at line 52 of file iter_startend.cpp.

Referenced by IterRestart().

double UV_Cont_rel2_Draine_DB96_face [static]

Definition at line 52 of file iter_startend.cpp.

Referenced by IterRestart().

double UV_Cont_rel2_Habing_TH85_face [static]

Definition at line 52 of file iter_startend.cpp.

Referenced by IterRestart().

realnum xIonFsave[LIMELM+3][LIMELM+1] [static]

Definition at line 62 of file iter_startend.cpp.

realnum xMolFracsSave[LIMELM] [static]

Definition at line 86 of file iter_startend.cpp.

Referenced by IterRestart().


Generated on Mon Feb 16 12:08:46 2009 for cloudy by  doxygen 1.4.7