#include "cddefines.h"
#include "taulines.h"
#include "abund.h"
#include "atmdat.h"
#include "atoms.h"
#include "atomfeii.h"
#include "assertresults.h"
#include "broke.h"
#include "ca.h"
#include "called.h"
#include "carb.h"
#include "cddrive.h"
#include "colden.h"
#include "conv.h"
#include "continuum.h"
#include "coolheavy.h"
#include "dense.h"
#include "doppvel.h"
#include "dynamics.h"
#include "elementnames.h"
#include "embesq.h"
#include "extinc.h"
#include "fe.h"
#include "fudgec.h"
#include "geometry.h"
#include "grainvar.h"
#include "optimize.h"
#include "grid.h"
#include "h2.h"
#include "h2_priv.h"
#include "helike.h"
#include "he.h"
#include "heavy.h"
#include "hextra.h"
#include "hmi.h"
#include "hydrogenic.h"
#include "hyperfine.h"
#include "input.h"
#include "ionbal.h"
#include "iso.h"
#include "iterations.h"
#include "lines.h"
#include "magnetic.h"
#include "map.h"
#include "mean.h"
#include "mewecoef.h"
#include "mole.h"
#include "neutrn.h"
#include "nitro.h"
#include "noexec.h"
#include "numderiv.h"
#include "oxy.h"
#include "peimbt.h"
#include "phycon.h"
#include "plot.h"
#include "sil.h"
#include "version.h"
#include "pressure.h"
#include "prt.h"
#include "punch.h"
#include "radius.h"
#include "reason.h"
#include "rfield.h"
#include "opacity.h"
#include "rt.h"
#include "secondaries.h"
#include "state.h"
#include "stopcalc.h"
#include "struc.h"
#include "thermal.h"
#include "timesc.h"
#include "trace.h"
#include "warnings.h"
#include "wind.h"
Go to the source code of this file.
Defines | |
#define | EXTERN |
Functions | |
void | cdDefines (void) |
Variables | |
FILE * | ioMAP = NULL |
const double | ZeroNum = 0. |
long | nWindLine = NWINDDIM |
long int | nCORotate = NCOROTATE |
bool | lgCORotateMalloc = false |
bool | lgcdInitCalled = false |
bool | lgH2_READ_DATA = false |
bool | lgHydroMalloc = false |
LinSv * | LineSv = NULL |
bool | lgFeIIMalloc = false |
bool | lgRfieldMalloced = false |
bool | lgOpacMalloced = false |
#define EXTERN |
Definition at line 5 of file cddefines.cpp.
void cdDefines | ( | void | ) |
Definition at line 123 of file cddefines.cpp.
References chOptimFileName, ionbal, ipCARBON, ipH_LIKE, ipHE_LIKE, ipHELIUM, ipHYDROGEN, ipIRON, ipNITROGEN, ipOXYGEN, ipZINC, iso, lgHydroMalloc, LIMELM, MAX2, t_iso::n_HighestResolved_max, t_iso::nCollapsed_max, t_ionbal::nCompRecoilElec, t_iso::nTopOff, t_iso::numLevels_max, and t_iso::numPrintLevels.
Referenced by cdInit().
FILE* ioMAP = NULL |
Definition at line 9 of file cddefines.cpp.
Referenced by ClosePunchFiles(), iter_end_check(), ParseMap(), ParsePunch(), and PunchFilesInit().
bool lgcdInitCalled = false |
this is the value that will be set true when cdInit is called. Other routines will check that this is true when they are called, to verify that cdInit was called first. Definition is in cdDefines.c
Definition at line 39 of file cddefines.cpp.
Referenced by cdDrive(), cdGetLineList(), cdInit(), cdRead(), and cdVersion().
bool lgCORotateMalloc = false |
this will be set true once space is allocaed for the CO rotation array. from then on any ATOM CO LEVELS command will be ignored, this is set to false in cddefines.c
Definition at line 24 of file cddefines.cpp.
Referenced by atmdat_readin(), and ParseAtomCO().
bool lgFeIIMalloc = false |
this is set true when space is allocated for the FeII arrays, once this happens FeII.nFeIILevel cannot be changed with the atom feii levels command set false in cddefines
Definition at line 100 of file cddefines.cpp.
Referenced by FeIICreate(), FeIIZero(), and ParseAtomFeII().
bool lgH2_READ_DATA = false |
flag saying whether molecular data have been read in yet
Definition at line 60 of file cddefines.cpp.
Referenced by H2_Create(), H2_Zero(), and ParseAtomH2().
bool lgHydroMalloc = false |
this will be set true once space is allocaed for the HydroLines array. from then on any HYDROGENIC LEVELS command will be ignored, this is set to false in cddefines.c
Definition at line 72 of file cddefines.cpp.
Referenced by cdDefines(), iso_create(), ParseAtomHeLike(), and ParseAtomHLike().
bool lgOpacMalloced = false |
set true when malloced, init to false
Definition at line 111 of file cddefines.cpp.
Referenced by OpacityCreateAll(), and tauff().
bool lgRfieldMalloced = false |
set true when malloced, init to false
Definition at line 109 of file cddefines.cpp.
Referenced by rfield_opac_malloc(), rfield_opac_zero(), and tfidle().
Definition at line 82 of file cddefines.cpp.
Referenced by badprt(), cdDLine(), cdEmis(), cdEmis_ip(), cdH2_Line(), cdLine(), cdLine_ip(), cdLineListPunch(), debugLine(), Drive_cdLine(), FeIIPunchLines(), H2_PunchDo(), iter_end_check(), IterStart(), lgCheckAsserts(), linadd(), lindst(), lines(), lines_continuum(), lines_hydro(), optimize_func(), prt_LineLabels(), PrtFinal(), PunchDo(), PunLineIntensity(), punResults(), and totlin().
number of rotation lines, the number of levels is one greater than this
Definition at line 21 of file cddefines.cpp.
Referenced by atmdat_readin(), cdCO_colden(), CO_Colden(), CO_drive(), CO_OTS(), CO_solve(), ContCreatePointers(), CoolSum(), FindNeg(), FndLineHt(), GetMaxhLine(), iso_zero(), lines_molecules(), lines_setup(), ParseAtomCO(), PresTotCurrent(), PrtComment(), PrtLinePres(), prtmet(), PunchLineData(), PunchLineStuff(), RT_diffuse(), RT_line_all(), RT_line_driving(), RT_tau_inc(), RT_tau_init(), RT_tau_reset(), and state_get_put().
this is set to 0 with no atom_level2 command, normally equal to NWINDDIM, definition is in cddefines.c
Definition at line 18 of file cddefines.cpp.
Referenced by atmdat_readin(), ContCreatePointers(), CoolCarb(), CoolDima(), CoolIron(), CoolNitr(), CoolOxyg(), CoolSili(), CoolSulf(), CoolSum(), Fe7Lev8(), FindNeg(), FndLineHt(), GetMaxhLine(), iso_zero(), lines(), lines_lv1_li_ne(), lines_setup(), ParseDont(), PresTotCurrent(), PrtColumns(), PrtLinePres(), prtmet(), PunchLineData(), PunchLineStuff(), RT_diffuse(), RT_line_all(), RT_line_driving(), RT_OTS(), RT_tau_inc(), RT_tau_init(), RT_tau_reset(), and state_get_put().
const double ZeroNum = 0. |
this is the number zero, used to trick clever compilers when dividing by it to crash program there is a routine called zero - this name cannot overlap definition is in cddefines.cpp
Definition at line 13 of file cddefines.cpp.
Referenced by MyAssert(), and ParseCrashDo().