cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
init_coreload.cpp File Reference
#include "cddefines.h"
#include "init.h"
#include "parse.h"
#include "struc.h"
#include "atmdat.h"
#include "hcmap.h"
#include "h2.h"
#include "hextra.h"
#include "heavy.h"
#include "ionbal.h"
#include "iso.h"
#include "taulines.h"
#include "cosmology.h"
#include "broke.h"
#include "dense.h"
#include "optimize.h"
Include dependency graph for init_coreload.cpp:

Go to the source code of this file.

Functions

void InitCoreload (void)
 

Function Documentation

void InitCoreload ( void  )

one time initialization of core load, called from cdDrive, this sets minimum set of values needed for the code to start - called after input lines have been read in and checked for VARY or GRID - so known whether single or multiple sims will be run

set atmdat.ipSpecIon to uninit flag

Definition at line 38 of file init_coreload.cpp.

References atmdat, t_hextra::background_density, t_hextra::background_rate, broke, t_atmdat::chdBaseSources, t_isoCTRL::chISO, chOptimFileName, t_Heavy::chShell, cosmology, DEBUG_ENTRY, dense, t_dense::density_low_limit, diatoms_init(), t_struc::dr_ionfrac_limit, t_cosmology::h, t_cosmology::H_0, hcmap, Heavy, hextra, ionbal, ipCARBON, ipH_LIKE, ipHE_LIKE, ipHELIUM, ipHYDROGEN, ipIRON, ipMAGNESIUM, ipNEON, ipNITROGEN, ipOXYGEN, ipSILICON, t_atmdat::ipSpecIon, ipSULPHUR, iso_ctrl, iso_sp, iso_update_num_levels(), t_broke::lgBroke, t_broke::lgCheckit, t_atmdat::lgdBaseSourceExists, t_cosmology::lgDo, t_dense::lgElmtOn, t_dense::lgElmtSetOff, t_broke::lgFixit, t_dense::lgIonChiantiOn, t_dense::lgIonStoutOn, lgLinesAdded, t_hcmap::lgMapBeingDone, t_hcmap::lgMapDone, t_hcmap::lgMapOK, t_optimize::lgOptimizeAsLinear, t_broke::lgPrintFixits, t_dense::lgSetIoniz, lgStatesAdded, LIMELM, LIMPAR, MAX2, max_num_levels, t_dense::maxWN, t_iso_sp::n_HighestResolved_max, t_iso_sp::nCollapsed_max, t_ionbal::nCompRecoilElec, NISO, t_hcmap::nmap, t_hcmap::nMapAlloc, t_iso_sp::numLevels_malloc, t_iso_sp::numLevels_max, t_cosmology::omega_baryon, t_cosmology::omega_k, t_cosmology::omega_lambda, t_cosmology::omega_matter, t_cosmology::omega_rad, optimize, t_cosmology::redshift_current, t_cosmology::redshift_start, t_cosmology::redshift_step, SaveFilesInit(), SMALLFLOAT, and struc.

Referenced by cdDrive().

Here is the call graph for this function: