cddefines.cpp File Reference

#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
LinSvLineSv = NULL
bool lgFeIIMalloc = false
bool lgRfieldMalloced = false
bool lgOpacMalloced = false


Define Documentation

#define EXTERN

Definition at line 5 of file cddefines.cpp.


Function Documentation

void cdDefines ( void   ) 

Todo:
2 do something with this or set to LONG_MAX? after moving collapsed levels to iso.nCollapsed_max, this variable does nothing. iso.nTopOff[ipHE_LIKE] = 0;

Todo:
2 Change this to higher number. Make this change by itself after all other changes pass suite.

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().


Variable Documentation

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().

LinSv* LineSv = NULL

long int nCORotate = NCOROTATE

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().


Generated for cloudy by doxygen 1.5.9