|
cloudy
trunk
|
#include "cdstd.h"#include <cstdio>#include <cstdlib>#include <cctype>#include <cmath>#include <cassert>#include <cstring>#include <cfloat>#include <climits>#include <ctime>#include <csignal>#include <limits>#include <string>#include <sstream>#include <iomanip>#include <vector>#include <valarray>#include <complex>#include <map>#include <memory>#include <stdexcept>#include <algorithm>#include <fstream>#include <bitset>#include "cloudyconfig.h"#include "cpu.h"#include "container_classes.h"#include "iter_track.h"#include "lines_service.h"#include "physconst.h"

Go to the source code of this file.
Data Structures | |
| struct | StaticAssertFailed< bool > |
| struct | StaticAssertFailed< true > |
| class | Singleton< T > |
| class | cloudy_exit |
| class | bad_signal |
| class | bad_assert |
| class | t_debug |
| class | t_nodebug |
| class | debugtrace< Trace > |
| class | auto_vec< T > |
| struct | auto_vec< T >::auto_vec_ref< U > |
| struct | t_species |
| struct | t_CollRatesArray |
| struct | t_CollSplinesArray |
| struct | t_StoutColls |
| class | Integrator< Integrand, Method > |
Macros | |
| #define | STATIC static |
| #define | float PLEASE_USE_REALNUM_NOT_FLOAT |
| #define | STATIC_ASSERT(x) ((void)StaticAssertFailed< (x) == true >()) |
| #define | EXIT_SUCCESS ES_SUCCESS |
| #define | EXIT_FAILURE ES_FAILURE |
| #define | cdEXIT(FAIL) throw cloudy_exit( __func__, __FILE__, __LINE__, FAIL ) |
| #define | puts(STR) Using_puts_before_cdEXIT_is_no_longer_needed |
| #define | DEBUG |
| #define | MALLOC(exp) (MyMalloc(exp,__FILE__, __LINE__)) |
| #define | CALLOC MyCalloc |
| #define | REALLOC MyRealloc |
| #define | ASSERT(exp) |
| #define | MESSAGE_ASSERT(msg, exp) ASSERT( (msg) ? (exp) : false ) |
| #define | isnan MyIsnan |
| #define | DEBUG_ENTRY(funcname) ((void)0) |
| #define | MIN2 min |
| #define | MIN3(a, b, c) (min(min(a,b),c)) |
| #define | MIN4(a, b, c, d) (min(min(a,b),min(c,d))) |
| #define | MAX2 max |
| #define | MAX3(a, b, c) (max(max(a,b),c)) |
| #define | MAX4(a, b, c, d) (max(max(a,b),max(c,d))) |
| #define | POW2 pow2 |
| #define | POW3 pow3 |
| #define | POW4 pow4 |
| #define | HMRATE(a, b, c) hmrate4(a,b,c,phycon.te) |
| #define | PrintEfmt(F, V) F, V |
Typedefs | |
| typedef float | realnum |
| typedef float | sys_float |
| typedef struct t_species | species |
| typedef struct t_CollRatesArray | CollRateCoeffArray |
| typedef struct t_CollSplinesArray | CollSplinesArray |
| typedef struct t_StoutColls | StoutColls |
Enumerations | |
| enum | exit_type { ES_SUCCESS =0, ES_FAILURE =1, ES_WARNINGS, ES_BOTCHES, ES_CLOUDY_ABORT, ES_BAD_ASSERT, ES_BAD_ALLOC, ES_OUT_OF_RANGE, ES_USER_INTERRUPT, ES_TERMINATION_REQUEST, ES_ILLEGAL_INSTRUCTION, ES_FP_EXCEPTION, ES_SEGFAULT, ES_BUS_ERROR, ES_UNKNOWN_SIGNAL, ES_UNKNOWN_EXCEPTION, ES_TOP } |
| enum | { CHARS_SPECIES =10 } |
| enum | { CHARS_ISOTOPE_SYM = 6 } |
| enum | split_mode { SPM_RELAX, SPM_KEEP_EMPTY, SPM_STRICT } |
| enum | methods { Gaussian32, Legendre } |
Functions | |
| double | fudge (long int ipnt) |
| void | broken (void) |
| void | fixit (void) |
| void | CodeReview (void) |
| void | TestCode (void) |
| void * | MyMalloc (size_t size, const char *file, int line) |
| void * | MyCalloc (size_t num, size_t size) |
| void * | MyRealloc (void *p, size_t size) |
| void | MyAssert (const char *file, int line, const char *comment) |
| void | cdPrepareExit (exit_type) |
| void | ShowMe (void) |
| NORETURN void | TotalInsanity (void) |
| template<class T > | |
| T | TotalInsanityAsStub () |
| NORETURN void | BadRead (void) |
| int | dbg_printf (int debug, const char *fmt,...) |
| int | dprintf (FILE *fp, const char *format,...) |
| char * | read_whole_line (char *chLine, int nChar, FILE *ioIN) |
| NORETURN void | OUT_OF_RANGE (const char *str) |
| char | tolower (char c) |
| unsigned char | tolower (unsigned char c) |
| char | toupper (char c) |
| unsigned char | toupper (unsigned char c) |
| char | TorF (bool l) |
| bool | is_odd (int j) |
| bool | is_odd (long j) |
| long | nint (double x) |
| long | min (int a, long b) |
| long | min (long a, int b) |
| double | min (sys_float a, double b) |
| double | min (double a, sys_float b) |
| double | powi (double, long int) |
| long | max (int a, long b) |
| long | max (long a, int b) |
| double | max (sys_float a, double b) |
| double | max (double a, sys_float b) |
| template<class T > | |
| T | sign (T x, T y) |
| template<class T > | |
| int | sign3 (T x) |
| bool | fp_equal (sys_float x, sys_float y, int n=3) |
| bool | fp_equal (double x, double y, int n=3) |
| bool | fp_equal_tol (sys_float x, sys_float y, sys_float tol) |
| bool | fp_equal_tol (double x, double y, double tol) |
| bool | fp_bound (sys_float lo, sys_float x, sys_float hi, int n=3) |
| bool | fp_bound (double lo, double x, double hi, int n=3) |
| bool | fp_bound_tol (sys_float lo, sys_float x, sys_float hi, sys_float tol) |
| bool | fp_bound_tol (double lo, double x, double hi, double tol) |
| template<class T > | |
| T | pow2 (T a) |
| template<class T > | |
| T | pow3 (T a) |
| template<class T > | |
| T | pow4 (T a) |
| sys_float | SDIV (sys_float x) |
| double | SDIV (double x) |
| sys_float | safe_div (sys_float x, sys_float y, sys_float res_0by0) |
| sys_float | safe_div (sys_float x, sys_float y) |
| double | safe_div (double x, double y, double res_0by0) |
| double | safe_div (double x, double y) |
| double | hmrate4 (double a, double b, double c, double te) |
| template<class T > | |
| void | invalidate_array (T *p, size_t size) |
| void | invalidate_array (double *p, size_t size) |
| void | invalidate_array (sys_float *p, size_t size) |
| template<class T > | |
| T * | get_ptr (T *v) |
| template<class T > | |
| T * | get_ptr (valarray< T > &v) |
| template<class T > | |
| T * | get_ptr (vector< T > &v) |
| template<class T > | |
| const T * | get_ptr (const valarray< T > &v) |
| template<class T > | |
| const T * | get_ptr (const vector< T > &v) |
| void | Split (const string &str, const string &sep, vector< string > &lst, split_mode mode) |
| bool | FindAndReplace (string &str, const string &substr, const string &newstr) |
| bool | FindAndErase (string &str, const string &substr) |
| double | csphot (long int inu, long int ithr, long int iofset) |
| double | RandGauss (double xMean, double s) |
| double | MyGaussRand (double PctUncertainty) |
| double | AnuUnit (realnum energy) |
| void | cap4 (char *chCAP, const char *chLab) |
| void | uncaps (char *chCard) |
| void | caps (char *chCard) |
| double | e2 (double t) |
| double | ee1 (double x) |
| double | ee1_safe (double x) |
| double | FFmtRead (const char *chCard, long int *ipnt, long int last, bool *lgEOL) |
| long | nMatch (const char *chKey, const char *chCard) |
| int | GetQuote (char *chLabel, char *chCard, char *chCardRaw, bool lgABORT) |
| const char * | strstr_s (const char *haystack, const char *needle) |
| char * | strstr_s (char *haystack, const char *needle) |
| const char * | strchr_s (const char *s, int c) |
| char * | strchr_s (char *s, int c) |
| long int | ipow (long, long) |
| void | PrintE82 (FILE *, double) |
| void | PrintE71 (FILE *, double) |
| void | PrintE93 (FILE *, double) |
| sys_float | sexp (sys_float x) |
| double | sexp (double x) |
| double | dsexp (double x) |
| double | plankf (long int ip) |
| istream & | SafeGetline (istream &is, string &t) |
| double | qg32 (double, double, double(*)(double)) |
| void | spsort (realnum x[], long int n, long int iperm[], int kflag, int *ier) |
Variables | |
| FILE * | ioQQQ |
| FILE * | ioStdin |
| FILE * | ioMAP |
| FILE * | ioPrnErr |
| bool | lgAbort |
| bool | lgTestCodeCalled |
| bool | lgTestCodeEnabled |
| bool | lgPrnErr |
| long int | nzone |
| double | fnzone |
| long int | iteration |
| const double | ZeroNum |
| const int | FILENAME_PATH_LENGTH = 200 |
| const int | FILENAME_PATH_LENGTH_2 = FILENAME_PATH_LENGTH*2 |
| const int | INPUT_LINE_LENGTH = 2000 |
| const int | LIMELM = 30 |
| const int | NISO = 2 |
| const int | NHYDRO_MAX_LEVEL = 401 |
| const double | MAX_DENSITY = 1.e24 |
| const double | DEPTH_OFFSET = 1.e-30 |
| const int | ipRecEsc = 2 |
| const int | ipRecNetEsc = 1 |
| const int | ipRecRad = 0 |
| const int | ipPRD = 1 |
| const int | ipCRD = -1 |
| const int | ipCRDW = 2 |
| const int | ipLY_A = -2 |
| const int | ipDEST_K2 = 1 |
| const int | ipDEST_INCOM = 2 |
| const int | ipDEST_SIMPL = 3 |
| const int | ipHYDROGEN = 0 |
| const int | ipHELIUM = 1 |
| const int | ipLITHIUM = 2 |
| const int | ipBERYLLIUM = 3 |
| const int | ipBORON = 4 |
| const int | ipCARBON = 5 |
| const int | ipNITROGEN = 6 |
| const int | ipOXYGEN = 7 |
| const int | ipFLUORINE = 8 |
| const int | ipNEON = 9 |
| const int | ipSODIUM = 10 |
| const int | ipMAGNESIUM = 11 |
| const int | ipALUMINIUM = 12 |
| const int | ipSILICON = 13 |
| const int | ipPHOSPHORUS = 14 |
| const int | ipSULPHUR = 15 |
| const int | ipCHLORINE = 16 |
| const int | ipARGON = 17 |
| const int | ipPOTASSIUM = 18 |
| const int | ipCALCIUM = 19 |
| const int | ipSCANDIUM = 20 |
| const int | ipTITANIUM = 21 |
| const int | ipVANADIUM = 22 |
| const int | ipCHROMIUM = 23 |
| const int | ipMANGANESE = 24 |
| const int | ipIRON = 25 |
| const int | ipCOBALT = 26 |
| const int | ipNICKEL = 27 |
| const int | ipCOPPER = 28 |
| const int | ipZINC = 29 |
| const int | ipKRYPTON = 35 |
| const double | SEXP_LIMIT = 84. |
| const double | DSEXP_LIMIT = 680. |
| #define ASSERT | ( | exp | ) |
Definition at line 582 of file cddefines.h.
Referenced by abscf(), AbundChange(), addComment(), TransitionProxy::AddHiState(), addKeyword_num(), addKeyword_txt(), TransitionProxy::AddLine2Stack(), TransitionProxy::AddLoState(), AgeCheck(), multi_arr< realnum, 6 >::alloc(), flex_arr< double >::alloc(), AssertFeIIDep(), atmdat_2phot_setSplineCoefs(), atmdat_2phot_shapefunction(), atmdat_CHIANTI_readin(), atmdat_HS_caseB(), atmdat_LAMDA_readin(), atmdat_readin(), atmdat_STOUT_readin(), atom_level2(), atom_level3(), atom_levelN(), atom_pop2(), atom_pop3(), atom_pop5(), AtomCSInterp(), t_fe2ovr_la::atoms_fe2ovr(), AtomSeqBeryllium(), AtomSeqBoron(), Badnell_DR_rate_eval(), Badnell_rec_init(), Badnell_RR_rate_eval(), bh(), bh_log(), bhG(), bhg(), bhg_log(), bhG_mx(), bhGm(), bhGm_mx(), bhGp(), bhGp_mx(), bhintegrand(), bhintegrand_log(), CalcTwoPhotonEmission(), CalcTwoPhotonRates(), cdEmis_ip(), cdGetLineList(), cdLine(), cdLine_ip(), cdSPEC(), cdSPEC2(), ChargTranSumHeat(), ChckFill(), EmissionProxy::check(), TransitionProxy::check(), TransitionConstProxy::check(), EmissionConstProxy::check(), CHIANTI_Upsilon(), chIonLbl(), chLineLbl(), cloudy(), t_ADfA::coll_ion_hybrid(), t_ADfA::coll_ion_wrapper(), collision_strength_VF01(), CollisSuppres(), ColStrGBar(), CollisionProxy::ColUL(), molecule::compare(), conorm(), cont_gaunt_calc(), ContBandsCreate(), ContCreatePointers(), ContRate(), ContSetIntensity(), ConvBase(), ConvCrossSect2CollStr(), ConvFail(), ConvInitSolution(), ConvIterCheck(), ConvRate2CS(), CoolAdd(), CoolCarb(), CoolEvaluate(), CoolNitr(), CoolOxyg(), coolpr(), TransitionProxy::copy(), create_isotopologues_one(), cross_section(), CS_l_mixing_PS64(), CS_l_mixing_S62(), CS_l_mixing_VF01(), CS_PercivalRichards78(), CS_VS80(), da(), database_readin(), dBase_solve(), DebyeDeriv(), iter_track::deriv(), dftori(), t_mole_local::dissoc_rate(), DoBeckert_etal(), DoFSMixing(), DoSatelliteLines(), DoSutherland(), DumpLine(), DynaIonize(), DynaIterEnd(), DynaNewStep(), DynaPrtZone(), DynaSaveLast(), DynaStartZone(), eden_sum(), EdenChange(), EdenError(), ee1_safe(), EH2_eval(), emergent_line(), emit_frac(), esc_CRDcore(), esc_CRDwing(), esc_PRD(), esc_PRD_1side(), escmase(), F21(), F21_mx(), F21i(), F21i_log(), FastVoigtH(), Fe2_cooling(), Fe3_cs(), Fe3Lev14(), Fe4_cs(), Fe4Lev12(), Fe5_cs(), FeII_OTS(), FeIICollRatesBoltzmann(), FeIICreate(), FeIIPun1Depart(), FeIIPunPop(), FeIISumBand(), FFmtRead(), ffun(), ffun1(), fiddle(), fill(), fill_array(), multi_geom< d, MEM_LAYOUT_VAL >::finalize(), find_solution(), FindIndex(), t_mole_local::findrk(), FindStrongestLineLabels(), FndLineHt(), fndstr(), ForbiddenAuls(), fp_bound(), fp_bound_tol(), fp_equal(), fp_equal_tol(), FreeFreeGaunt(), fsff(), funjac(), GammaBn(), GammaK(), get_total_abundance_ions(), GetBins(), GetDopplerWidth(), GetFracPop(), GetGF(), GetHS98CrossSection(), diatomics::GetIndices(), diatomics::getLine(), GetModel(), GetProbDistr_LowLimit(), getrf_wrapper(), getrs_wrapper(), GetStandardHeLines(), gett2(), gett2o3(), GrainCharge(), GrainChargeTemp(), GrainDrift(), GrainElecEmis1(), GrainElecRecomb1(), GrainMakeDiffuse(), GrainScreen(), GrainsInit(), GrainTemperature(), GrainUpdateRadius1(), GrainUpdateRadius2(), GravitationalPressure(), GridCompile(), GridGatherInCloudy(), gridXspec(), GrnVryDpth(), H21_cm_pops(), diatomics::H2_Accel(), diatomics::H2_CollidRateEvalAll(), diatomics::H2_ContPoint(), diatomics::H2_Cooling(), diatomics::H2_Level_low_matrix(), diatomics::H2_LevelPops(), diatomics::H2_PunchDo(), diatomics::H2_RadPress(), diatomics::H2_Read_hminus_distribution(), diatomics::H2_ReadDissocEnergies(), diatomics::H2_ReadDissprob(), diatomics::H2_ReadEnergies(), diatomics::H2_ReadTransprob(), diatomics::H2_RT_tau_inc(), diatomics::H2_X_coll_rate_evaluate(), diatomics::H2_X_sink_and_source(), t_ADfA::h_coll_str(), H_cross_section(), H_photo_cs_lin(), H_photo_cs_log10(), t_ADfA::H_rad_rec(), HCTIon(), HCTRecom(), he_1trans(), He_cross_section(), HeatSum(), HeCollidSetup(), HeCSInterp(), helike_energy(), helike_quantum_defect(), helike_transprob(), highen(), Hion_coll_ioniz_ratecoef(), HomogeneousSource(), t_ADfA::hpfit(), hri(), hri_log10(), hrii(), hrii_log(), hv(), Hydcs123(), hydro_transprob(), hydro_vs_coll_recomb(), hydro_vs_coll_str(), hydro_vs_deexcit(), hydro_vs_ioniz(), HydroCSInterp(), HydroLevel(), HydroOscilStr(), HydroRecCool(), HyperfineCreate(), HyperfineCS(), Hypergeometric2F1(), diatomics::init(), init_eps(), phymir_state< X, Y, NP, NSTR >::init_minmax(), t_yield::init_yield(), InitCoreloadPostparse(), InitEmissivities(), InitGrid(), InitGridCoStar(), phymir_state< X, Y, NP, NSTR >::initial_run(), InitIndexArrays(), InitSimPostparse(), InterpCollRate(), InterpolateGff(), InterpolateGridCoStar(), InterpolateModel(), InterpolateModelCoStar(), InterpolateRectGrid(), inv_ufunct(), multi_arr< realnum, 6 >::invalidate(), ion_collis(), ion_CX(), ion_photo(), ion_recom_calculate(), ion_recomb(), ion_recombAGN(), ion_solver(), ion_trim(), ion_wrapper(), IonCSInterp(), ipFindLevLine(), ipFineCont(), ipLineEnergy(), ipoint(), ipShells(), iso_allocate(), iso_assign_quantum_numbers(), iso_cascade(), iso_collapsed_Aul_update(), iso_collapsed_bnl_set(), iso_collapsed_lifetimes_update(), iso_collide(), iso_collisional_ionization(), iso_continuum_lower(), iso_cool(), iso_create(), iso_dielec_recomb_rate(), iso_error_generation(), iso_ionize_recombine(), iso_level(), iso_photo(), iso_prt_pops(), iso_put_error(), iso_put_recomb_error(), iso_radiative_recomb(), iso_radiative_recomb_effective(), iso_recomb_setup(), iso_renorm(), iso_RRCoef_Te(), iso_satellite(), iso_set_ion_rates(), iso_solve(), iso_state_lifetime(), iso_suprathermal(), iso_update_num_levels(), iso_update_rates(), iter_end_check(), IterEnd(), IterRestart(), IterStart(), L_mix_integrand_VF01(), lgCheckMonitors(), lgCompileAtmosphere(), lgCompileAtmosphereCoStar(), Wind::lgStatic(), lgValidModel(), lincom(), lindst(), LineConvRate2CS(), lines_general(), lines_helium(), lines_hydro(), lines_setup(), LineStackCreate(), linfit(), linint(), LinterpTable(), LinterpVector(), log10_fsff(), log10_prodxx(), log_integral(), t_mole_global::make_species(), MD5string(), MeanMassOfElement(), mie_auxiliary2(), mie_calc_ial(), mie_cs(), mie_cs_size_distr(), mie_find_slope(), mie_read_mix(), mie_read_opc(), mie_read_rfi(), mie_write_form(), diatomics::Mol_Photo_Diss_Rates(), MolDissocCrossSection(), mole_eval_balance(), mole_eval_dynamic_balance(), mole_generate_isotopologue_reactions(), diatomics::mole_H2_form(), mole_h2_grain_form(), diatomics::mole_H2_LTE(), mole_h_reactions(), mole_make_groups(), mole_make_list(), mole_partition_function(), mole_return_cached_species(), mole_rk_bigchange(), mole_solve(), mole_update_species_cache(), Monointerp::Monointerp(), MyCalloc(), MyGaussRand(), MyMalloc(), MyRealloc(), newisotope(), newreact(), newspecies(), nMatch(), Parser::nMatch1(), nWord(), OccupationNumberLine(), ofit(), Opacity_iso_photo_cs(), OpacityAdd1Element(), OpacityAdd1Subshell(), OpacityAdd1SubshellInduc(), OpacityAddTotal(), diatomics::OpacityCreate(), OpacityCreate1Element(), OpacityCreateAll(), OpacityCreatePowerLaw(), OpacityCreateReilMan(), OpacityValenceRescale(), open_data(), FunctLAMDA::operator()(), phymir_state< X, Y, NP, NSTR >::optimize(), optimize_func(), phymir_state< X, Y, NP, NSTR >::optimize_with_restart(), TransitionProxy::outline(), outline_base(), EnergyEntry::p_set_ip(), parse_reaction(), parse_save_average(), parse_species_label(), parse_udfa(), ParseAtomISO(), ParseCosmicRays(), ParseCrashDo(), ParseDynaTime(), ParseElement(), ParseEnergy(), ParseFluc(), ParseGrid(), ParseIntensity(), ParseMonitorResults(), ParsePhi(), ParseQH(), ParseTable(), ParseVLaw(), PE_init(), t_ADfA::phfit(), PlanckIntegral(), PntForLine(), PressureRadiationLine(), PresTotCurrent(), PrintCenterLine(), PrintRates(), process_output(), PrtAllTau(), PrtColumns(), PrtComment(), PrtFinal(), PrtLinePres(), PrtZone(), punchFITS_EnergyData(), punchFITS_EnergyHeader(), punchFITS_GenericHeader(), punchFITS_ParamData(), punchFITS_ParamHeader(), punchFITS_PrimaryHeader(), punchFITS_SpectraData(), punchFITS_SpectraHeader(), PutCS(), PutLine_base(), qheat(), qheat_init(), qintr(), radius_first(), radius_increment(), radius_next(), RauchReadMPP(), read_Helike_cross_sections(), read_hm05(), diatomics::Read_Mol_Diss_cross_sections(), read_SH98_He1_cross_sections(), read_species_file(), ReadAugerData(), ReadBadnellAIData(), ReadCollisionRateTable(), ReadIsotopeFractions(), flex_arr< double >::realloc(), RebinAtmosphere(), RebinFind(), RebinQHeatResults(), RebinSingleCell(), RefIndex(), multi_geom< d, MEM_LAYOUT_VAL >::reserve(), multi_arr< realnum, 6 >::reserve(), flex_arr< double >::reserve(), resetBltin(), rfield_opac_malloc(), RT_continuum(), RT_continuum_shield_fcn(), RT_DestHummer(), RT_DestProb(), RT_diffuse(), RT_iso_integrate_RRC(), RT_line_one(), RT_line_pumping(), RT_LineWidth(), RT_OTS(), RT_OTS_AddCont(), RT_OTS_AddLine(), RT_OTS_PrtRate(), RT_OTS_Update(), RT_recom_effic(), RT_tau_inc(), RT_tau_init(), RT_tau_reset(), RTesc_lya(), S62_Therm_ave_coll_str(), SanityCheckBegin(), save_line(), save_opacity(), SaveDo(), SaveFilesInit(), saveFITSfile(), SaveHeat(), SaveResults(), SaveSpecies(), SaveSpeciesOne(), ScaleAllDensities(), ScanProbDistr(), scqdri(), search_limit(), PresMode::set(), t_mole_local::set_location(), SetLimits(), SetLimitsSub(), Parser::setline(), SetNChrgStates(), GroupMap::setup(), size_distr(), solve_system(), diatomics::SolveExcitedElectronicLevels(), diatomics::SolveSomeGroundElectronicLevels(), spline_cubic_set(), sprt_wl(), StarburstInitialize(), StarkCollTransProb_VF01(), states_nelemfill(), store_new_densities(), StoutCollRate(), Integrator< Integrand, Method >::sum(), sum_radiation(), SumDensities(), t_ADfA::t_ADfA(), t_fe2ovr_la::t_fe2ovr_la(), tbl_fun(), TempInterp(), TempInterp2(), tfidle(), total_molecule_elems(), TryDoubleStep(), TwoPhotonSetup(), uderiv(), ufunct(), GroupMap::updateMolecules(), UpdatePot(), UpdatePot1(), Flux::uu(), WavlenErrorGet(), writeCloudyDetails(), y0b(), y0b01(), y0psa(), y1psa(), y2pa(), y2s(), Yfunc(), multi_arr< realnum, 6 >::zero(), iter_track::zero_fit(), and ZoneStart().
| #define CALLOC MyCalloc |
now special version of calloc - it dies if cannot allocate space.
Definition at line 514 of file cddefines.h.
Referenced by CoolSave(), F21(), F21_mx(), H_photo_cs_log10(), InitGridCoStar(), lgCompileAtmosphere(), lgCompileAtmosphereCoStar(), and SaveHeat().
| #define cdEXIT | ( | FAIL | ) | throw cloudy_exit( __func__, __FILE__, __LINE__, FAIL ) |
Definition at line 438 of file cddefines.h.
Referenced by AbortErrorMessage(), abund_starburst(), AbundancesSet(), AbundancesTable(), t_PredCont::add(), AGN_Hemis(), atmdat_CHIANTI_readin(), atmdat_dielrec_fe(), atmdat_HS_caseB(), atmdat_LAMDA_readin(), atmdat_readin(), atmdat_STOUT_readin(), atom_level3(), atom_levelN(), atom_pop5(), AtomSeqBeryllium(), Badnell_rec_init(), BadRead(), bessel_k0(), bessel_k0_scaled(), bessel_k1(), bessel_k1_scaled(), bessel_y0(), bessel_y1(), bessel_yn(), bhG(), bhG_mx(), C6cs123(), Ca20cs123(), cdClock(), cdDrive(), cdExecTime(), cdGetLineList(), cdMain(), cdRead(), cdSPEC(), cdSPEC2(), ChargTranPun(), ChckFill(), CheckVal(), chi2_func(), cnewton(), Parser::CommandError(), conorm(), ContBandsCreate(), ContCreateMesh(), ContCreatePointers(), phymir_state< X, Y, NP, NSTR >::continue_from_state(), ContSetIntensity(), ConvFail(), CoolEvaluate(), CoolOxyg(), coolpr(), CoolSave(), CoStarInterpolate(), database_readin(), dBase_solve(), dense_tabden(), dgaunt(), do_dump_state(), do_restore_state(), Parser::doSetVar(), Drive_cdLine(), DrvCaseBHS(), DrvHyas(), DynaIterStart(), ee1(), ellpk(), endFindLevLine(), escmase(), expn(), factorial(), Fe26cs123(), Fe3Lev14(), Fe4Lev12(), FeII_Colden(), FeIICollRatesBoltzmann(), FeIICreate(), FeIILevelPops(), FeIIPunData(), FeIISaveLines(), ffun1(), fill(), FillGFF(), find_arr(), find_solution(), FindIndex(), fsff(), fudge(), gauss_legendre(), Energy::get(), GetBins(), GetFracPop(), GetLineRec(), GetModel(), GetNextLine(), GetOptColDen(), GetOptLineInt(), GetOptTemp(), GetPotValues(), GetQuote(), GetStandardHeLines(), GrainCharge(), GrainsInit(), grid_do(), gridXspec(), diatomics::H2_Colden(), diatomics::H2_CollidRateRead(), diatomics::H2_Level_low_matrix(), diatomics::H2_ParseSave(), diatomics::H2_Punch_line_data(), diatomics::H2_Read_hminus_distribution(), diatomics::H2_ReadDissocEnergies(), diatomics::H2_ReadDissprob(), diatomics::H2_ReadEnergies(), diatomics::H2_ReadTransprob(), H_Einstein_A_lin(), H_Einstein_A_log10(), H_photo_cs_lin(), H_photo_cs_log10(), HCSAR_interp(), He2cs123(), HeatSum(), HeCollidSetup(), HelikeTransProbSetup(), Parser::help(), t_ADfA::hpfit(), hri(), hri_log10(), hrii(), hrii_log(), hv(), Hydcs123(), HydroEinstA(), HydroRecCool(), HyperfineCreate(), hypho(), diatomics::init(), t_yield::init_yield(), InitEmissivities(), InitGrid(), InitIndexArrays(), InitSimPostparse(), InterpolateGff(), InterpolateGridCoStar(), InterpolateModel(), InterpolateRectGrid(), inv_ufunct(), ion_recom_calculate(), ipoint(), iso_level(), iso_radiative_recomb(), iso_recomb_setup(), iso_set_ion_rates(), iso_update_num_levels(), iter_end_check(), IterStart(), lfactorial(), lgCheckMonitors(), lgOptimize_do(), ligbar(), LimitSh(), lines(), lines_setup(), map_do(), mie_auxiliary(), mie_auxiliary2(), mie_cs(), mie_cs_size_distr(), mie_next_line(), mie_read_double(), mie_read_long(), mie_read_mix(), mie_read_opc(), mie_read_realnum(), mie_read_rfi(), mie_read_szd(), mie_repair(), mie_write_opc(), molcol(), MyAssert(), MyCalloc(), MyMalloc(), MyRealloc(), Ne10cs123(), newreact(), Parser::NoNumb(), oi_level_pops(), OpacityAddTotal(), OpacityCreateAll(), OpacityCreateReilMan(), optimize_func(), optimize_phymir(), phymir_state< X, Y, NP, NSTR >::p_execute_job(), Flux::p_InternalFluxUnit(), phymir_state< X, Y, NP, NSTR >::p_rd_state(), EnergyEntry::p_set_ip(), parse_reaction(), parse_save_average(), parse_save_colden(), parse_save_line(), Parse_Save_Line_RT(), ParseAbsMag(), ParseAbundances(), ParseAge(), ParseAgn(), ParseAperture(), ParseAtom(), ParseAtomFeII(), ParseAtomH2(), ParseAtomISO(), ParseBackgrd(), ParseBlackbody(), ParseBremsstrahlung(), ParseCMB(), ParseCommands(), ParseCompile(), ParseConstant(), ParseCoronal(), ParseCosm(), ParseCosmicRays(), ParseCovering(), ParseCrashDo(), ParseDarkMatter(), ParseDielectronic(), ParseDiffuse(), ParseDLaw(), ParseDont(), ParseDrive(), ParseDynaTime(), ParseDynaWind(), ParseElement(), ParseEnergy(), ParseExtinguish(), ParseF_nu(), ParseFluc(), ParseGlobule(), ParseGrain(), ParseGravity(), ParseGrid(), ParseHDEN(), ParseHeLike(), ParseHExtra(), ParseHydrogen(), ParseIlluminate(), ParseInit(), ParseInitCount(), ParseIntensity(), ParseInterp(), ParseIonPar(), ParseLaser(), ParseLuminosity(), ParseMagnet(), ParseMap(), ParseMetal(), ParseMonitorResults(), ParseNorm(), ParseNumber(), ParseOptimize(), ParsePGrains(), ParsePhi(), ParsePlot(), ParsePlotRangeContin(), ParsePlotRangeOption(), ParsePowerlawContinuum(), ParsePrint(), ParsePrtLineSum(), ParseQH(), ParseRadius(), ParseRangeOption(), ParseRatio(), ParseSave(), ParseSet(), ParseSpecial(), ParseState(), ParseStop(), ParseTable(), ParseTLaw(), ParseTolerance(), ParseTrace(), ParseTurbulence(), plot(), pltopc(), pltr(), PntForLine(), PresTotCurrent(), PrintRates(), prt_smooth_predictions(), PrtComment(), PrtElem(), PrtFinal(), PrtLineSum(), ptrcer(), punchFITS_SpectraData(), qintr(), t_ADfA::rad_rec(), radius_next(), RauchInitializeSub(), RauchReadMPP(), rd_block(), read_continuum_mesh(), read_Helike_cross_sections(), read_hm05(), ReadAugerData(), ReadTable(), RT_continuum(), RT_DestProb(), RT_line_escape(), RT_line_one(), RT_recom_effic(), RT_tau_init(), SanityCheck(), SanityCheckBegin(), save_average(), save_line(), Save_Line_RT(), save_opacity(), SaveDo(), saveFITSfile(), SaveLineData(), SaveLineStuff(), SaveResults1Line(), SaveSpecies(), search_limit(), PresMode::set(), Energy::set(), SetLimits(), size_distr(), solveions(), spline_cubic_set(), Split(), StandardEnergyUnit(), StandardFluxUnit(), state_do(), states_nelemfill(), StuffComment(), t_ADfA::t_ADfA(), t_fe2ovr_la::t_fe2ovr_la(), TempInterp(), tfidle(), TotalInsanity(), totlin(), uderiv(), ufunct(), vary_input(), wr_block(), XERBLA(), y0b01(), Yfunc(), zero(), t_mole_global::zero(), and zoneDensity().
| #define DEBUG |
to avoid errors introduced by C's infamous double-negative logic, this uses NDEBUG (the ANSI std macro used to tell assert that we are not debugging) to define DEBUG
Definition at line 493 of file cddefines.h.
| #define DEBUG_ENTRY | ( | funcname | ) | ((void)0) |
Definition at line 688 of file cddefines.h.
Referenced by AbortErrorMessage(), abscf(), abund_starburst(), AbundancesPrt(), AbundancesSet(), AbundancesTable(), AbundancesZero(), AbundChange(), t_PredCont::add(), addComment(), TransitionProxy::AddHiState(), addKeyword_num(), addKeyword_txt(), TransitionProxy::AddLine2Stack(), TransitionProxy::AddLoState(), advection_set_default(), AgeCheck(), AGN_He1_CS(), AGN_Hemis(), AngerJ(), anomal(), AnuUnit(), append_file(), AssertFeIIDep(), AtlasCompile(), AtlasInterpolate(), atmdat_2phot_setSplineCoefs(), atmdat_2phot_shapefunction(), atmdat_3body(), atmdat_CHIANTI_readin(), atmdat_dielrec_fe(), atmdat_HS_caseB(), atmdat_LAMDA_readin(), atmdat_outer_shell(), atmdat_readin(), atmdat_STOUT_readin(), AtmospheresAvail(), atom_level2(), atom_level3(), atom_levelN(), atom_oi_calc(), atom_pop2(), atom_pop3(), atom_pop5(), AtomCSInterp(), t_fe2ovr_la::atoms_fe2ovr(), AtomSeqBeryllium(), AtomSeqBoron(), Badnell_DR_rate_eval(), Badnell_rec_init(), Badnell_RR_rate_eval(), badprt(), BadRead(), BadStart(), bangin(), bessel_i0(), bessel_i0_scaled(), bessel_i1(), bessel_i1_scaled(), bessel_j0(), bessel_j1(), bessel_jn(), bessel_k0(), bessel_k0_scaled(), bessel_k1(), bessel_k1_scaled(), bessel_y0(), bessel_y1(), bessel_yn(), bh(), bh_log(), bhG(), bhg(), bhg_log(), bhG_mx(), bhGm(), bhGm_mx(), bhGp(), bhGp_mx(), bhintegrand(), bhintegrand_log(), bigk(), blkdata1(), broken(), Bruggeman(), C6cs123(), Ca20cs123(), calcc(), diatomics::CalcPhotoionizationRate(), CalcTwoPhotonEmission(), CalcTwoPhotonRates(), canonicalize_reaction(), canonicalize_reaction_label(), cap4(), caps(), caunin(), cdasum(), cdaxpy(), cdB21cm(), cdCautions(), cdClock(), cdClosePunchFiles(), cdColm(), cdcopy(), cdDepth_depth(), cdDrive(), cdEmis(), cdEmis_ip(), cdErrors(), cdExecTime(), cdgamma(), cdGetLineList(), cdH2_Line(), cdInit(), cdInput(), cdIonFrac(), cdLine(), cdLine_ip(), cdMain(), cdNoExec(), cdNotes(), cdNwcns(), cdOutput(), cdPressure_depth(), cdPressure_last(), cdPrtWL(), cdRead(), cdReasonGeo(), cdSPEC(), cdSPEC2(), cdSurprises(), cdTalk(), cdTemp(), cdTimescales(), cdWarnings(), ChargTranEval(), ChargTranPun(), ChargTranSumHeat(), ChckFill(), check_co_ion_converge(), check_grid_file(), CheckVal(), t_mole_local::chem_heat(), ChemImportance(), chi2_func(), CHIANTI_Upsilon(), ChiantiCollRate(), chIonLbl(), chkCaHeps(), ChkUnits(), chLineLbl(), CloseSaveFiles(), cloudy(), cmshft(), cnewton(), CodeReview(), t_ADfA::coll_ion(), t_ADfA::coll_ion_hybrid(), t_ADfA::coll_ion_wrapper(), ColliderList::ColliderList(), collision_strength_VF01(), CollisionJunk(), CollisionZero(), ColStrGBar(), Parser::CommandError(), conorm(), conpmp(), diatomics::Cont_Diss_Heat_Rate(), ContBandsCreate(), ContCreateMesh(), ContCreatePointers(), phymir_state< X, Y, NP, NSTR >::continue_from_state(), ContNegative(), ContRate(), ContSetIntensity(), ConvBase(), ConvCrossSect2CollStr(), ConvEdenIoniz(), ConvFail(), ConvInitSolution(), ConvIoniz(), ConvIterCheck(), ConvPresTempEdenIoniz(), ConvRate2CS(), ConvTempEdenIoniz(), CoolAdd(), CoolAlum(), CoolArgo(), CoolCalc(), CoolCarb(), CoolChlo(), CoolChro(), CoolCoba(), CoolDima(), CoolEvaluate(), CoolHeatError(), CoolIron(), CoolMagn(), CoolNeon(), CoolNick(), CoolNitr(), CoolOxyg(), CoolPhos(), CoolPota(), coolpr(), CoolSave(), CoolScan(), CoolSili(), CoolSodi(), CoolSulf(), CoolSum(), CoolZero(), CoStarCompile(), CoStarInterpolate(), CoStarListModels(), CS_l_mixing_PS64(), CS_l_mixing_S62(), CS_l_mixing_VF01(), CS_PercivalRichards78(), CS_ThermAve_PR78(), csphot(), csscal(), d3_np_fs(), da(), database_prep(), database_readin(), dBase_solve(), dbg_printf(), DebyeDeriv(), dense_tabden(), dftori(), dgaunt(), DGEMM(), DGER(), DGETF2(), DGETRF(), DGETRS(), diatoms_init(), t_mole_local::dissoc_rate(), dist(), DLASWP(), dmpary(), do_dump_state(), do_restore_state(), DoFSMixing(), DoSatelliteLines(), Parser::doSetVar(), dprintf(), Drive_cdLine(), DrvCaseBHS(), DrvContPump(), DrvEscP(), DrvHyas(), DSCAL(), dsexp(), DSWAP(), DTRSM(), DumpLine(), DynaCreateArrays(), DynaEndZone(), DynaFlux(), DynaIonize(), DynaIterEnd(), DynaIterStart(), DynaNewStep(), DynaPrtZone(), DynaPunchTimeDep(), DynaSave(), DynaSaveLast(), DynaStartZone(), DynaZero(), e2(), eden_sum(), EdenChange(), ee1(), ee1_safe(), eina(), ellpk(), emergent_line(), emit_frac(), EmLineJunk(), EmLineZero(), endFindLevLine(), erfce(), esc_CRDcore(), esc_CRDwing(), esc_CRDwing_1side(), esc_PRD(), esc_PRD_1side(), esca0k2(), esccon(), escmase(), evalf(), exp1(), expn(), extin(), F21(), F21_mx(), F21i(), F21i_log(), factorial(), FastVoigtH(), Fe26cs123(), Fe2_cooling(), t_fe2ovr_la::fe2par(), Fe3Lev14(), Fe4Lev12(), FeII_Colden(), FeII_LineZero(), FeII_OTS(), FeII_RT_Make(), FeII_RT_Out(), FeII_RT_tau_reset(), FeII_RT_TauInc(), FeIIAccel(), FeIIAddLines(), FeIIBandsCreate(), FeIICollRatesBoltzmann(), FeIIContCreate(), FeIICreate(), FeIIIntenZero(), FeIILevelPops(), FeIILyaPump(), FeIIPoint(), FeIIPrint(), FeIIPun1Depart(), FeIIPunchColden(), FeIIPunchLevels(), FeIIPunchLineStuff(), FeIIPunchOpticalDepth(), FeIIPunData(), FeIIPunDepart(), FeIIPunPop(), FeIIRadPress(), FeIIReset(), FeIISaveLines(), FeIISumBand(), FeIIZero(), Parser::FFmtRead(), FFmtRead(), ffun(), ffun1(), fiddle(), fill(), fill_array(), FillExtraLymanLine(), FillGFF(), FillJ(), t_PredCont::find(), find_arr(), find_solution(), findatom(), FindHCoStar(), FindIndex(), FindNeg(), t_mole_local::findrate(), t_mole_local::findrk(), findspecies(), findspecieslocal(), FindTempChangeFactor(), FindVCoStar(), fixit(), FndLineHt(), fndneg(), fndstr(), ForbiddenAuls(), FreeGrid(), fsff(), fstats(), fudge(), funjac(), GammaBn(), GammaK(), GammaPrt(), GammaPrtRate(), GammaPrtShells(), gauss_init(), gauss_legendre(), gbar0(), gbar1(), Energy::get(), get_total_abundance_ions(), GetBins(), GetDensity(), diatomics::GetDissociationRate(), GetDissociationRateCoeff(), Parser::GetElem(), GetFracPop(), GetGF(), diatomics::GetHeatRate(), GetHubbleFactor(), diatomics::getLine(), GetLineRec(), GetModel(), GetNextLine(), GetOptColDen(), GetOptLineInt(), GetOptTemp(), t_cpu_i::getPathList(), GetPotValues(), GetProbDistr_HighLimit(), GetProbDistr_LowLimit(), GetQuote(), GetStandardHeLines(), gett2(), gett2o3(), diatomics::GetXColden(), GrainCharge(), GrainChargeTemp(), GrainChrgTransferRates(), GrainCollHeating(), GrainDrift(), GrainDrive(), GrainElecEmis1(), GrainElecRecomb1(), GrainIonColl(), GrainMakeDiffuse(), GrainRateDr(), GrainRestartIter(), GrainScreen(), GrainsInit(), GrainStartIter(), GrainTemperature(), GrainUpdateRadius1(), GrainUpdateRadius2(), GrainZero(), GravitationalPressure(), grid_do(), GridCompile(), GridGatherInCloudy(), GridInterpolate(), gridXspec(), GrnStdDpth(), GrnVryDpth(), diatomics::gs_rate(), diatomics::H2_Accel(), diatomics::H2_Colden(), diatomics::H2_CollidRateEvalAll(), diatomics::H2_CollidRateEvalOne(), diatomics::H2_CollidRateRead(), diatomics::H2_ContPoint(), diatomics::H2_Cooling(), diatomics::H2_Level_low_matrix(), diatomics::H2_LevelPops(), diatomics::H2_LinesAdd(), diatomics::H2_LineZero(), diatomics::H2_ParseSave(), diatomics::H2_Prt_column_density(), diatomics::H2_Prt_line_tau(), diatomics::H2_Prt_Zone(), diatomics::H2_PrtDepartCoef(), diatomics::H2_Punch_line_data(), diatomics::H2_PunchDo(), diatomics::H2_PunchLineStuff(), diatomics::H2_RadPress(), diatomics::H2_Read_hminus_distribution(), diatomics::H2_ReadDissocEnergies(), diatomics::H2_ReadDissprob(), diatomics::H2_ReadEnergies(), diatomics::H2_ReadTransprob(), diatomics::H2_Reset(), diatomics::H2_RT_diffuse(), diatomics::H2_RT_OTS(), diatomics::H2_RT_tau_inc(), diatomics::H2_RT_tau_reset(), diatomics::H2_RTMake(), diatomics::H2_Solomon_rate(), diatomics::H2_X_coll_rate_evaluate(), diatomics::H2_X_sink_and_source(), diatomics::H2_zero_pops_too_low(), t_ADfA::h_coll_str(), H_Einstein_A(), H_Einstein_A_lin(), H_Einstein_A_log10(), H_photo_cs(), H_photo_cs_lin(), H_photo_cs_log10(), t_ADfA::H_rad_rec(), HCoolRatio(), HCSAR_interp(), HCTIon(), HCTRecom(), He2cs123(), he_1trans(), HeatSum(), HeatZero(), HeCollidSetup(), HeCSInterp(), helike_energy(), helike_quantum_defect(), helike_transprob(), HelikeTransProbSetup(), Parser::help(), highen(), HighestIonStage(), Hion_coll_ioniz_ratecoef(), hmiopc(), hmirat(), HomogeneousSource(), t_ADfA::hpfit(), hri(), hri_log10(), hrii(), hrii_log(), humlik(), hv(), Hydcs123(), hydro_transprob(), hydro_vs_coll_recomb(), hydro_vs_coll_str(), hydro_vs_deexcit(), hydro_vs_ioniz(), HydroCSInterp(), HydroEinstA(), HydroLevel(), HydroOscilStr(), HydroRecCool(), HyperfineCreate(), HyperfineCS(), hypho(), IDAMAX(), ILAENV(), IncidentContinuumHere(), ColliderList::init(), t_input::init(), diatomics::init(), t_mole_global::init(), init_eps(), phymir_state< X, Y, NP, NSTR >::init_minmax(), t_fe2ovr_la::init_pointers(), phymir_state< X, Y, NP, NSTR >::init_state_file_name(), phymir_state< X, Y, NP, NSTR >::init_strings(), t_yield::init_yield(), InitBinAugerData(), InitCoreload(), InitCoreloadPostparse(), InitDefaultsPreparse(), InitEmissivities(), InitEnthalpy(), initFindLevLine(), InitGrid(), InitGridCoStar(), phymir_state< X, Y, NP, NSTR >::initial_run(), InitIndexArrays(), InitSimPostparse(), input_readvector(), InterpCollRate(), InterpolateGff(), InterpolateGridCoStar(), InterpolateModel(), InterpolateModelCoStar(), InterpolateRectGrid(), inv_ufunct(), ion_collis(), ion_CX(), ion_photo(), ion_recom_calculate(), ion_recomb(), ion_recombAGN(), ion_solver(), ion_trim(), ion_wrapper(), ion_zero(), IonCSInterp(), IonHelium(), IonHydro(), IonNelem(), ipContEnergy(), ipFindLevLine(), ipFineCont(), ipLineEnergy(), ipoint(), ipow(), ipShells(), isactive(), iso_allocate(), iso_assign_quantum_numbers(), iso_cascade(), iso_charge_transfer_update(), iso_collapsed_Aul_update(), iso_collapsed_bnl_print(), iso_collapsed_bnl_set(), iso_collapsed_lifetimes_update(), iso_collide(), iso_collisional_ionization(), iso_cool(), iso_create(), iso_cross_section(), iso_departure_coefficients(), iso_dielec_recomb_rate(), iso_error_generation(), iso_get_total_num_levels(), iso_ionize_recombine(), iso_level(), iso_photo(), iso_prt_pops(), iso_put_error(), iso_rad_rec_cooling_approx(), iso_rad_rec_cooling_extra(), iso_radiative_recomb(), iso_radiative_recomb_effective(), iso_radrecomb_from_cross_section(), iso_recomb_auxiliary_free(), iso_recomb_check(), iso_recomb_malloc(), iso_recomb_setup(), iso_renorm(), iso_RRCoef_Te(), iso_satellite(), iso_satellite_update(), iso_set_ion_rates(), iso_solve(), iso_state_lifetime(), iso_suprathermal(), iso_update_num_levels(), iso_zero(), ispassive(), iter_end_check(), IterEnd(), IterRestart(), IterStart(), JIndex(), Junk(), TransitionProxy::Junk(), Kurucz79Compile(), Kurucz79Interpolate(), L_mix_integrand_VF01(), lagrange(), ld01_fun(), LeidenCollRate(), lfactorial(), lgCheckMonitors(), lgCompileAtmosphere(), lgCompileAtmosphereCoStar(), lgConserveEnergy(), phymir_state< X, Y, NP, NSTR >::lgConvergedRestart(), lgConvTemp(), lgCoolHeatCheckConverge(), lgCoolNetConverge(), lgFileReadable(), lgInputComment(), lgNetEdenSrcSmall(), lgNucleiConserved(), lgOptimize_do(), lgValidAsciiFile(), lgValidBinFile(), lgValidModel(), ligbar(), LimitSh(), linadd(), lincom(), lindst(), LineConvRate2CS(), lines(), lines_continuum(), lines_general(), lines_grains(), lines_helium(), lines_hydro(), lines_lv1_k_zn(), lines_lv1_li_ne(), lines_lv1_na_ar(), lines_molecules(), lines_setup(), lines_table(), LineStackCreate(), linfit(), linint(), LinterpTable(), LinterpVector(), log10_fsff(), log_integral(), LSAME(), Magnetic_evaluate(), Magnetic_init(), Magnetic_reinit(), main(), t_mole_global::make_species(), MakeCS(), MakeHCTData(), map_do(), MD5_Transform(), MD5datafile(), MD5file(), MD5string(), MD5swap(), t_mean::MeanInc(), t_mean::MeanIon(), MeanMassOfElement(), t_mean::MeanZero(), mie_auxiliary(), mie_auxiliary2(), mie_calc_ial(), mie_cs(), mie_cs_size_distr(), mie_find_slope(), mie_integrate(), mie_next_data(), mie_next_line(), mie_read_double(), mie_read_form(), mie_read_long(), mie_read_mix(), mie_read_opc(), mie_read_realnum(), mie_read_rfi(), mie_read_szd(), mie_read_word(), mie_repair(), mie_write_form(), mie_write_opc(), MihalasCompile(), MihalasInterpolate(), diatomics::Mol_Photo_Diss_Rates(), molcol(), MolDissocCrossSection(), diatomics::MolDissocOpacity(), mole_check_reverse_reactions(), mole_cmp_num_in_out_reactions(), mole_create_react(), mole_drive(), mole_effects(), mole_eval_balance(), mole_eval_dynamic_balance(), mole_eval_sources(), mole_findrate_s(), mole_generate_isotopologue_reactions(), mole_get_equilibrium_constant(), diatomics::mole_H2_form(), diatomics::mole_H2_LTE(), mole_h_fixup(), mole_h_reactions(), mole_make_groups(), mole_make_list(), mole_partition_function(), mole_punch(), mole_rk_bigchange(), mole_solve(), mole_update_limiting_reactants(), mole_update_rks(), mole_update_sources(), mole_update_species_cache(), MyAssert(), MyCalloc(), MyGaussRand(), MyMalloc(), MyRealloc(), Ne10cs123(), neiii_cs(), NewChargeData(), newelement(), newisotope(), newpt(), newreact(), newspecies(), newton_step(), nMatch(), Parser::NoNumb(), notein(), nWord(), OccupationNumberLine(), ofit(), oi_cs(), oi_level_pops(), oi_othercs(), oii_cs(), oiii_cs(), oiv_cs(), Opacity_iso_photo_cs(), opacity_more_memory(), OpacityAdd1Element(), OpacityAdd1Subshell(), OpacityAdd1SubshellInduc(), OpacityAddTotal(), diatomics::OpacityCreate(), OpacityCreate1Element(), OpacityCreateAll(), OpacityCreatePowerLaw(), OpacityCreateReilMan(), OpacityValenceRescale(), OpacityZero(), OpacityZeroOld(), open_data(), phymir_state< X, Y, NP, NSTR >::optimize(), optimize_func(), optimize_phymir(), optimize_subplex(), phymir_state< X, Y, NP, NSTR >::optimize_with_restart(), order(), TransitionProxy::outline(), outline_base(), outline_base_bin(), outsum(), ov_cs(), phymir_state< X, Y, NP, NSTR >::p_barrier(), phymir_state< X, Y, NP, NSTR >::p_clear1(), phymir_state< X, Y, NP, NSTR >::p_evaluate_hyperblock(), phymir_state< X, Y, NP, NSTR >::p_execute_job(), phymir_state< X, Y, NP, NSTR >::p_execute_job_parallel(), Flux::p_get(), Flux::p_InternalFluxUnit(), Flux::p_InternalFluxUnitNoCheck(), phymir_state< X, Y, NP, NSTR >::p_lgLimitExceeded(), phymir_state< X, Y, NP, NSTR >::p_phygrm(), phymir_state< X, Y, NP, NSTR >::p_process_output(), phymir_state< X, Y, NP, NSTR >::p_rd_state(), phymir_state< X, Y, NP, NSTR >::p_reset_hyperblock(), phymir_state< X, Y, NP, NSTR >::p_reset_transformation_matrix(), Flux::p_set(), EnergyEntry::p_set_ip(), phymir_state< X, Y, NP, NSTR >::p_setup_next_hyperblock(), Flux::p_ValidFluxUnit(), phymir_state< X, Y, NP, NSTR >::p_wr_state(), pah1_fun(), pah2_fun(), pah3_fun(), parse_reaction(), parse_save_average(), parse_save_colden(), parse_save_line(), Parse_Save_Line_RT(), ParseAbsMag(), ParseAbundances(), ParseAge(), ParseAgn(), ParseAperture(), ParseAtom(), ParseAtomFeII(), ParseAtomH2(), ParseAtomISO(), ParseBackgrd(), ParseBlackbody(), ParseBremsstrahlung(), ParseCaseB(), ParseCMB(), ParseCommands(), ParseCompile(), ParseConstant(), ParseCoronal(), ParseCosm(), ParseCosmicRays(), ParseCosmology(), ParseCovering(), ParseCrashDo(), ParseDarkMatter(), ParseDielectronic(), ParseDiffuse(), ParseDLaw(), ParseDont(), ParseDrive(), ParseDynaTime(), ParseDynaWind(), ParseElement(), ParseEnergy(), ParseExtinguish(), ParseF_nu(), ParseFluc(), ParseGlobule(), ParseGrain(), ParseGravity(), ParseGrid(), ParseHDEN(), ParseHeLike(), ParseHelp(), ParseHExtra(), ParseHydrogen(), ParseIlluminate(), ParseInit(), ParseInitCount(), ParseIntensity(), ParseInterp(), ParseIonPar(), ParseLaser(), ParseLuminosity(), ParseMagnet(), ParseMap(), ParseMetal(), ParseMonitorResults(), ParseNorm(), ParseNumber(), ParseOptimize(), ParsePGrains(), ParsePhi(), ParsePlot(), ParsePlotRangeContin(), ParsePlotRangeOption(), ParsePowerlawContinuum(), ParsePrint(), ParsePrtLineSum(), ParseQH(), ParseRadius(), ParseRangeOption(), ParseRatio(), ParseSave(), ParseSet(), ParseSpecial(), ParseSphere(), ParseState(), ParseStop(), ParseTable(), ParseTest(), ParseTLaw(), ParseTolerance(), ParseTrace(), ParseTurbulence(), partx(), PE_init(), t_ADfA::phfit(), pintr(), PlanckIntegral(), plankf(), plot(), pltcon(), pltmap(), pltopc(), pltr(), pnegopc(), PntForLine(), powi(), PressureChange(), PressureRadiationLine(), PresTotCurrent(), PrintE71(), PrintE82(), PrintE93(), PrintRates(), PrintShortZero(), prme(), process_output(), prt_constants(), prt_LineLabels(), prt_smooth_predictions(), prt_wl(), PrtAllTau(), PrtColumns(), PrtComment(), PrtElem(), PrtFinal(), PrtHeader(), PrtHydroTrace1(), PrtHydroTrace1a(), PrtLinePres(), PrtLineSum(), PrtMacros(), PrtMeanIon(), prtmet(), PrtTwoPhotonEmissCoef(), PrtZone(), ptrcer(), punchFITS_EnergyData(), punchFITS_EnergyHeader(), punchFITS_GenericData(), punchFITS_GenericHeader(), punchFITS_ParamData(), punchFITS_ParamHeader(), punchFITS_PrimaryHeader(), punchFITS_SpectraData(), punchFITS_SpectraHeader(), PunFeII(), PutCS(), PutExtra(), PutLine(), PutLine_base(), qg32(), qheat(), qheat_init(), qintr(), t_ADfA::rad_rec(), radius_first(), radius_increment(), radius_next(), RandGauss(), RauchCompile(), RauchInitializeSub(), RauchInterpolateCOWD(), RauchInterpolateHCa(), RauchInterpolateHelium(), RauchInterpolateHNi(), RauchInterpolateHpHe(), RauchInterpolateHydr(), RauchInterpolatePG1159(), RauchReadMPP(), rayleh(), rd_block(), read_continuum_mesh(), read_Helike_cross_sections(), read_hm05(), diatomics::Read_Mol_Diss_cross_sections(), read_SH98_He1_cross_sections(), read_species_file(), read_whole_line(), t_input::readarray(), ReadAugerData(), ReadBadnellAIData(), ReadCollisionRateTable(), ReadIsotopeFractions(), ReadTable(), RebinAtmosphere(), RebinFind(), RebinQHeatResults(), RebinSingleCell(), t_ADfA::rec_lines(), RefIndex(), register_reaction_vectors(), rfield_opac_malloc(), ritoa(), ritodf(), RT_continuum(), RT_continuum_shield_fcn(), RT_DestHummer(), RT_DestProb(), RT_diffuse(), RT_iso_integrate_RRC(), RT_line_all(), RT_line_driving(), RT_line_electron_scatter(), RT_line_escape(), RT_line_fine_opacity(), RT_line_one(), RT_line_one_tau_reset(), RT_line_one_tauinc(), RT_line_pumping(), RT_LineWidth(), RT_OTS(), RT_OTS_AddCont(), RT_OTS_AddLine(), RT_OTS_ChkSum(), RT_OTS_PrtRate(), RT_OTS_Update(), RT_OTS_Zero(), RT_recom_effic(), RT_stark(), RT_tau_inc(), RT_tau_init(), RT_tau_reset(), RTesc_lya(), RTesc_lya_1side(), S62_Therm_ave_coll_str(), SanityCheck(), SanityCheckBegin(), Save1LineData(), save_average(), save_colden(), save_line(), Save_Line_RT(), save_opacity(), SaveDo(), SaveFeII_cont(), SaveFilesInit(), saveFITSfile(), SaveGaunts(), SaveHeat(), SaveLineData(), SaveLineIntensity(), SaveLineStuff(), SaveResults(), SaveResults1Line(), SaveSpecial(), SaveSpecies(), SaveSpeciesOne(), ScanProbDistr(), scqdri(), search_limit(), SearchModel(), PresMode::set(), Energy::set(), set_fractionation(), t_mole_local::set_isotope_abundances(), t_mole_local::set_location(), t_cpu_i::set_signal_handlers(), SetLimits(), SetLimitsSub(), SetNChrgStates(), setstp(), sexp(), ShowMe(), sii_cs(), siii_cs(), simplx(), t_mole_local::sink_rate(), t_mole_local::sink_rate_tot(), sinpar(), siv_cs(), size_distr(), solve_system(), diatomics::SolveExcitedElectronicLevels(), solveions(), diatomics::SolveSomeGroundElectronicLevels(), sortd(), t_mole_local::source_rate_tot(), spldrv_safe(), spline_cubic_set(), spline_cubic_val(), splint_safe(), Split(), sprt_wl(), spsort(), StandardEnergyUnit(), StandardFluxUnit(), StarburstCompile(), StarburstInitialize(), StarkCollTransProb_VF01(), start(), state_do(), state_get_put(), states_nelemfill(), states_popfill(), states_propprint(), stepDensity(), Stognienko(), store_new_densities(), StoutCollRate(), StuffComment(), subopt(), sumcon(), sviii_cs(), t_ADfA::t_ADfA(), t_cpu_i::t_cpu_i(), t_fe2ovr_la::t_fe2ovr_la(), t_mean::t_mean(), t_fe2ovr_la::tau_inc(), tauff(), TauZero(), tbl_fun(), TempChange(), TempInterp(), TempInterp2(), TestCode(), TexcLine(), tfidle(), Therm_ave_coll_str_int_PR78(), ThetaNu(), timestep_next(), TlustyCompile(), TlustyInterpolate(), total_molecule_deut(), total_molecule_elems(), total_molecules(), total_molecules_gasphase(), total_network_elems(), TotalInsanity(), totlin(), TryDoubleStep(), TwoPhotonSetup(), uderiv(), ufunct(), uncaps(), GroupMap::updateMolecules(), UpdatePot(), UpdatePot1(), UpdatePot2(), UpdateRecomZ0(), UpdateUTAs(), Flux::uu(), ValidateGrid(), vary_input(), warnin(), WavlenErrorGet(), wcnint(), WernerCompile(), WernerInterpolate(), WMBASICCompile(), WMBASICInterpolate(), wr_block(), XERBLA(), xinvrs(), xmap(), y0b(), y0b01(), y0psa(), y1psa(), y2pa(), y2s(), Yan_H2_CS(), Yfunc(), Zero(), zero(), TransitionProxy::Zero(), t_mole_global::zero(), t_fe2ovr_la::zero_opacity(), ZeroContin(), zoneDensity(), ZoneEnd(), and ZoneStart().
| #define EXIT_FAILURE ES_FAILURE |
Definition at line 144 of file cddefines.h.
Referenced by AbortErrorMessage(), abund_starburst(), AbundancesSet(), AbundancesTable(), t_PredCont::add(), AGN_Hemis(), atmdat_CHIANTI_readin(), atmdat_dielrec_fe(), atmdat_HS_caseB(), atmdat_LAMDA_readin(), atmdat_readin(), atmdat_STOUT_readin(), atom_level3(), atom_levelN(), atom_pop5(), AtomSeqBeryllium(), Badnell_rec_init(), BadRead(), bessel_k0(), bessel_k0_scaled(), bessel_k1(), bessel_k1_scaled(), bessel_y0(), bessel_y1(), bessel_yn(), bhG(), bhG_mx(), C6cs123(), Ca20cs123(), cdClock(), cdDrive(), cdExecTime(), cdGetLineList(), cdRead(), cdSPEC(), cdSPEC2(), ChargTranPun(), ChckFill(), CheckVal(), chi2_func(), cnewton(), Parser::CommandError(), conorm(), ContBandsCreate(), ContCreateMesh(), ContCreatePointers(), phymir_state< X, Y, NP, NSTR >::continue_from_state(), ContSetIntensity(), ConvFail(), CoolEvaluate(), coolpr(), CoolSave(), database_readin(), dBase_solve(), dense_tabden(), dgaunt(), do_dump_state(), do_restore_state(), Parser::doSetVar(), Drive_cdLine(), DrvCaseBHS(), DrvHyas(), DynaIterStart(), ee1(), ellpk(), endFindLevLine(), escmase(), expn(), factorial(), Fe26cs123(), Fe3Lev14(), Fe4Lev12(), FeII_Colden(), FeIICollRatesBoltzmann(), FeIICreate(), FeIILevelPops(), FeIIPunData(), FeIISaveLines(), ffun1(), fill(), FillGFF(), find_arr(), find_solution(), FindIndex(), fsff(), fudge(), gauss_legendre(), Energy::get(), GetBins(), GetFracPop(), GetLineRec(), GetModel(), GetNextLine(), GetOptColDen(), GetOptLineInt(), GetOptTemp(), GetPotValues(), GetQuote(), GetStandardHeLines(), GrainCharge(), GrainsInit(), grid_do(), gridXspec(), diatomics::H2_Colden(), diatomics::H2_CollidRateRead(), diatomics::H2_Level_low_matrix(), diatomics::H2_ParseSave(), diatomics::H2_Punch_line_data(), diatomics::H2_Read_hminus_distribution(), diatomics::H2_ReadDissocEnergies(), diatomics::H2_ReadDissprob(), diatomics::H2_ReadEnergies(), diatomics::H2_ReadTransprob(), H_Einstein_A_lin(), H_Einstein_A_log10(), H_photo_cs_lin(), H_photo_cs_log10(), HCSAR_interp(), He2cs123(), HeatSum(), HeCollidSetup(), HelikeTransProbSetup(), t_ADfA::hpfit(), hri(), hri_log10(), hrii(), hrii_log(), hv(), Hydcs123(), HydroEinstA(), HydroRecCool(), HyperfineCreate(), hypho(), diatomics::init(), t_yield::init_yield(), InitGrid(), InitSimPostparse(), InterpolateGff(), InterpolateGridCoStar(), InterpolateModel(), InterpolateRectGrid(), inv_ufunct(), ipoint(), iso_level(), iso_radiative_recomb(), iso_recomb_setup(), iso_set_ion_rates(), iso_update_num_levels(), iter_end_check(), IterStart(), lfactorial(), lgCheckMonitors(), lgOptimize_do(), ligbar(), LimitSh(), lines(), lines_setup(), map_do(), mie_auxiliary(), mie_auxiliary2(), mie_cs(), mie_cs_size_distr(), mie_next_line(), mie_read_double(), mie_read_long(), mie_read_mix(), mie_read_opc(), mie_read_realnum(), mie_read_rfi(), mie_read_szd(), mie_repair(), mie_write_opc(), molcol(), MyAssert(), MyCalloc(), MyMalloc(), MyRealloc(), Ne10cs123(), newreact(), Parser::NoNumb(), oi_level_pops(), OpacityAddTotal(), OpacityCreateAll(), OpacityCreateReilMan(), optimize_func(), optimize_phymir(), phymir_state< X, Y, NP, NSTR >::p_execute_job(), Flux::p_InternalFluxUnit(), phymir_state< X, Y, NP, NSTR >::p_rd_state(), EnergyEntry::p_set_ip(), parse_reaction(), parse_save_average(), parse_save_colden(), parse_save_line(), Parse_Save_Line_RT(), ParseAbsMag(), ParseAbundances(), ParseAge(), ParseAgn(), ParseAperture(), ParseAtom(), ParseAtomFeII(), ParseAtomH2(), ParseAtomISO(), ParseBackgrd(), ParseBlackbody(), ParseBremsstrahlung(), ParseCMB(), ParseCommands(), ParseCompile(), ParseConstant(), ParseCoronal(), ParseCosm(), ParseCosmicRays(), ParseCovering(), ParseCrashDo(), ParseDarkMatter(), ParseDielectronic(), ParseDiffuse(), ParseDLaw(), ParseDont(), ParseDrive(), ParseDynaTime(), ParseDynaWind(), ParseElement(), ParseEnergy(), ParseExtinguish(), ParseF_nu(), ParseFluc(), ParseGlobule(), ParseGrain(), ParseGravity(), ParseGrid(), ParseHDEN(), ParseHeLike(), ParseHExtra(), ParseHydrogen(), ParseIlluminate(), ParseInit(), ParseInitCount(), ParseIntensity(), ParseInterp(), ParseIonPar(), ParseLaser(), ParseLuminosity(), ParseMagnet(), ParseMap(), ParseMetal(), ParseMonitorResults(), ParseNorm(), ParseNumber(), ParseOptimize(), ParsePGrains(), ParsePhi(), ParsePlot(), ParsePlotRangeContin(), ParsePlotRangeOption(), ParsePowerlawContinuum(), ParsePrint(), ParsePrtLineSum(), ParseQH(), ParseRadius(), ParseRangeOption(), ParseRatio(), ParseSave(), ParseSet(), ParseSpecial(), ParseState(), ParseStop(), ParseTable(), ParseTLaw(), ParseTolerance(), ParseTrace(), ParseTurbulence(), plot(), pltopc(), pltr(), PntForLine(), PresTotCurrent(), PrintRates(), prt_smooth_predictions(), PrtComment(), PrtElem(), PrtFinal(), PrtLineSum(), ptrcer(), punchFITS_SpectraData(), qintr(), t_ADfA::rad_rec(), radius_next(), RauchInitializeSub(), RauchReadMPP(), rd_block(), read_continuum_mesh(), read_Helike_cross_sections(), read_hm05(), ReadAugerData(), ReadTable(), RT_continuum(), RT_DestProb(), RT_line_escape(), RT_recom_effic(), RT_tau_init(), SanityCheck(), SanityCheckBegin(), save_average(), save_line(), Save_Line_RT(), save_opacity(), SaveDo(), saveFITSfile(), SaveLineData(), SaveLineStuff(), SaveResults1Line(), SaveSpecies(), search_limit(), PresMode::set(), Energy::set(), SetLimits(), size_distr(), solveions(), spline_cubic_set(), Split(), StandardEnergyUnit(), StandardFluxUnit(), state_do(), states_nelemfill(), StuffComment(), t_ADfA::t_ADfA(), t_fe2ovr_la::t_fe2ovr_la(), TempInterp(), tfidle(), TotalInsanity(), totlin(), uderiv(), ufunct(), vary_input(), wr_block(), XERBLA(), y0b01(), Yfunc(), zero(), t_mole_global::zero(), and zoneDensity().
| #define EXIT_SUCCESS ES_SUCCESS |
Definition at line 142 of file cddefines.h.
Referenced by atmdat_readin(), ContSetIntensity(), CoolOxyg(), CoStarInterpolate(), DrvCaseBHS(), Parser::help(), diatomics::init(), InitEmissivities(), InitIndexArrays(), ion_recom_calculate(), iso_recomb_setup(), phymir_state< X, Y, NP, NSTR >::p_execute_job(), ParseCompile(), ParseDrive(), ParseInterp(), ParseTable(), RT_line_one(), save_opacity(), SaveDo(), and SaveLineData().
| #define float PLEASE_USE_REALNUM_NOT_FLOAT |
Definition at line 112 of file cddefines.h.
| #define HMRATE | ( | a, | |
| b, | |||
| c | |||
| ) | hmrate4(a,b,c,phycon.te) |
Definition at line 1050 of file cddefines.h.
Referenced by ChargTranEval(), and ion_photo().
| #define isnan MyIsnan |
Definition at line 624 of file cddefines.h.
Referenced by atmdat_LAMDA_readin(), DynaSaveLast(), DynaStartZone(), find_solution(), t_mole_local::findrk(), fp_bound(), fp_bound_tol(), fp_equal(), fp_equal_tol(), InterpCollRate(), OpacityAddTotal(), ParseCrashDo(), and safe_div().
| #define MALLOC | ( | exp | ) | (MyMalloc(exp,__FILE__, __LINE__)) |
use special version of malloc - it tests result and dies if cannot allocate space
Definition at line 505 of file cddefines.h.
Referenced by AGN_Hemis(), atmdat_CHIANTI_readin(), atmdat_readin(), atmdat_STOUT_readin(), AtomSeqBoron(), Badnell_rec_init(), cdSPEC(), ContBandsCreate(), ContCreateMesh(), database_readin(), dBase_solve(), DynaCreateArrays(), Fe2_cooling(), Fe3Lev14(), Fe4Lev12(), FeIIBandsCreate(), FeIIContCreate(), FeIICreate(), FillGFF(), GetStandardHeLines(), gridXspec(), diatomics::H2_Level_low_matrix(), HelikeTransProbSetup(), HyperfineCreate(), hypho(), initFindLevLine(), InitGrid(), InitIndexArrays(), InterpolateGridCoStar(), InterpolateModel(), InterpolateModelCoStar(), InterpolateRectGrid(), iso_cascade(), iso_recomb_malloc(), IterStart(), lgCompileAtmosphere(), lgCompileAtmosphereCoStar(), LineStackCreate(), map_do(), mole_h2_grain_form(), mole_make_groups(), OpacityAddTotal(), OpacityCreateAll(), parse_udfa(), ParseCrashDo(), ParseDynaTime(), ParseMonitorResults(), ParsePrtLineSum(), plot_sparsity(), pltcon(), pltopc(), PrtFinal(), punchFITS_GenericData(), RauchInitializeSub(), read_continuum_mesh(), read_Helike_cross_sections(), read_hm05(), read_SH98_He1_cross_sections(), RebinAtmosphere(), rfield_opac_malloc(), SanityCheckBegin(), SaveNewContinuum(), spline_cubic_set(), StarburstInitialize(), StoutCollRate(), and zero().
| #define MAX2 max |
MAX2 takes two arguments, returns the larger of the two
Definition at line 786 of file cddefines.h.
Referenced by abund_starburst(), AbundancesPrt(), AgeCheck(), AssertFeIIDep(), atmdat_CHIANTI_readin(), atmdat_LAMDA_readin(), atmdat_readin(), atmdat_STOUT_readin(), atom_level3(), atom_levelN(), atom_oi_calc(), atom_pop5(), AtomCSInterp(), t_fe2ovr_la::atoms_fe2ovr(), Badnell_rec_init(), badprt(), bhintegrand_log(), C6cs123(), Ca20cs123(), cdColm(), cdTimescales(), ChargTranSumHeat(), chkCaHeps(), cloudy(), collision_strength_VF01(), ColStrGBar(), ContCreateMesh(), ContCreatePointers(), ContRate(), ContSetIntensity(), ConvBase(), ConvFail(), ConvInitSolution(), ConvPresTempEdenIoniz(), CoolAdd(), CoolAlum(), CoolArgo(), CoolCalc(), CoolCarb(), CoolChlo(), CoolEvaluate(), CoolMagn(), CoolNick(), CoolNitr(), CoolOxyg(), CoolSave(), CoolSili(), CoolSodi(), CoolSulf(), CoStarListModels(), cross_section(), da(), dBase_solve(), DebyeDeriv(), DGEMM(), DGER(), DGETF2(), DGETRF(), DGETRS(), DoBeckert_etal(), DoSutherland(), DrvCaseBHS(), DTRSM(), DynaStartZone(), EdenChange(), F2_1(), Fe26cs123(), Fe2_cooling(), FeIICollRatesBoltzmann(), FeIICreate(), FeIILevelPops(), FeIILyaPump(), FeIISaveLines(), ffun1(), fill(), fstats(), GammaBn(), GammaK(), GbarRateCoeff(), GetFracPop(), GetModel(), GetPotValues(), GetProbDistr_HighLimit(), GetProbDistr_LowLimit(), GrainCharge(), GrainChrgTransferRates(), GrainCollHeating(), GrainElecEmis1(), GrainElecRecomb1(), GrainMakeDiffuse(), GrainRateDr(), GrainsInit(), GrainTemperature(), diatomics::gs_rate(), h21_t_lt_10(), H21cm_proton(), diatomics::H2_LevelPops(), diatomics::H2_PunchDo(), diatomics::H2_ReadEnergies(), diatomics::H2_RT_tau_inc(), H_cross_section(), H_photo_cs_log10(), HCoolRatio(), HCTIon(), HCTRecom(), he_1trans(), HeatSum(), HeCSInterp(), highen(), HighestIonStage(), Hion_coll_ioniz_ratecoef(), HomogeneousSource(), t_ADfA::hpfit(), Hydcs123(), hydro_vs_coll_str(), HydroEinstA(), HydroLevel(), Hypergeometric2F1(), hypho(), InitBinAugerData(), InitCoreload(), InterpolateModel(), ion_photo(), ion_recomb(), ion_trim(), IonHydro(), iso_allocate(), iso_collapsed_bnl_set(), iso_continuum_lower(), iso_cool(), iso_level(), iso_rad_rec_cooling_extra(), iso_radiative_recomb(), iso_radiative_recomb_effective(), iso_radrecomb_from_cross_section(), iso_recomb_check(), iso_recomb_malloc(), iso_update_num_levels(), iter_end_check(), IterRestart(), lgCheckMonitors(), lgCoolHeatCheckConverge(), lgNucleiConserved(), limitedDensityScaling(), lincom(), lines(), lines_continuum(), lines_general(), lines_grains(), lines_helium(), lines_hydro(), lines_lv1_k_zn(), lines_lv1_li_ne(), lines_lv1_na_ar(), lines_molecules(), map_do(), molcol(), mole_effects(), mole_h_reactions(), Ne10cs123(), oi_othercs(), oiv_cs(), Opacity_iso_photo_cs(), OpacityAdd1Element(), OpacityAdd1SubshellInduc(), OpacityCreate1Element(), optimize_subplex(), TransitionProxy::outline(), outline_base(), ParseAtomISO(), ParseGrid(), ParseIterations(), ParsePrint(), ParseRangeOption(), ParseSave(), ParseSet(), ParseStop(), ParseTrace(), pltcon(), pltmap(), pltopc(), pltr(), PresTotCurrent(), PrtAllTau(), PrtColumns(), PrtComment(), PrtFinal(), PrtHeader(), PrtZone(), qheat(), qheat_init(), qintr(), radius_first(), radius_increment(), radius_next(), rayleh(), RebinQHeatResults(), RT_continuum(), RT_diffuse(), RT_iso_integrate_RRC(), RT_line_electron_scatter(), RT_line_fine_opacity(), RT_line_one(), RT_line_one_tau_reset(), RT_LineWidth(), RT_OTS(), RT_OTS_Update(), RT_recom_effic(), RT_stark(), RT_tau_init(), RTesc_lya(), RTesc_lya_1side(), SanityCheckBegin(), save_colden(), save_line(), save_opacity(), SaveDo(), saveFITSfile(), SaveSpecies(), ScanProbDistr(), SetLimits(), SetLimitsSub(), setstp(), sii_cs(), spldrv_safe(), splint_safe(), tauff(), tfidle(), timestep_next(), TryDoubleStep(), TwoPhotonSetup(), uderiv(), UpdatePot(), UpdatePot1(), xNI_coll_stren(), y0b01(), Yan_H2_CS(), and ZoneStart().
MAX3 takes 3 arguments, returns the largest of the 3
Definition at line 791 of file cddefines.h.
Referenced by fstats(), GetProbDistr_LowLimit(), pltcon(), pltmap(), and pltopc().
MAX4 takes 4 arguments, returns the largest of the 4
Definition at line 796 of file cddefines.h.
Referenced by InterpolateGff(), iso_collapsed_bnl_set(), and sinpar().
| #define MESSAGE_ASSERT | ( | msg, | |
| exp | |||
| ) | ASSERT( (msg) ? (exp) : false ) |
Definition at line 610 of file cddefines.h.
| #define MIN2 min |
MIN2 takes two arguments, returns the smaller of the two
Definition at line 765 of file cddefines.h.
Referenced by abund_starburst(), AgeCheck(), atmdat_3body(), atmdat_LAMDA_readin(), atom_oi_calc(), C6cs123(), Ca20cs123(), ChargTranEval(), ChargTranSumHeat(), ContRate(), ContSetIntensity(), ConvBase(), ConvFail(), ConvInitSolution(), ConvIterCheck(), ConvPresTempEdenIoniz(), CoolAlum(), CoolArgo(), CoolCarb(), CoolChlo(), CoolEvaluate(), CoolMagn(), CoolNick(), CoolNitr(), CoolOxyg(), coolpr(), CoolSave(), CoolSili(), CoolSodi(), CoolSulf(), CS_l_mixing_PS64(), da(), dBase_solve(), dense_parametric_wind(), DGETF2(), DGETRF(), DoBeckert_etal(), DoSutherland(), DynaStartZone(), esc_CRDcore(), esc_CRDwing(), esc_PRD_1side(), Fe26cs123(), FeIICollRatesBoltzmann(), FeIICreate(), FeIIPunData(), FeIIPunPop(), ffun1(), fill_array(), FillJ(), ForbiddenAuls(), fstats(), GammaBn(), GammaK(), GammaPrt(), GetDissociationRateCoeff(), diatomics::GetHeatRate(), GetProbDistr_HighLimit(), GetProbDistr_LowLimit(), GrainScreen(), GrainTemperature(), h21_t_ge_10(), H21cm_electron(), H21cm_proton(), diatomics::H2_PunchDo(), diatomics::H2_ReadEnergies(), diatomics::H2_RT_tau_inc(), HCoolRatio(), HCTIon(), HCTRecom(), HeatSum(), Hion_coll_ioniz_ratecoef(), Hydcs123(), HydroEinstA(), Hypergeometric2F1(), hypho(), ILAENV(), InterpolateModel(), ion_collis(), ion_CX(), ion_photo(), ion_recom_calculate(), ion_recomb(), ion_solver(), ion_trim(), ipLineEnergy(), ipoint(), iso_assign_quantum_numbers(), iso_collapsed_bnl_set(), iso_collapsed_update(), iso_collide(), iso_continuum_lower(), iso_ionize_recombine(), iso_level(), iso_put_recomb_error(), iso_radiative_recomb(), iso_radrecomb_from_cross_section(), iso_satellite_update(), iso_update_rates(), lgCheckMonitors(), limitedDensityScaling(), lines_hydro(), map_do(), mole_get_equilibrium_constant(), Ne10cs123(), newton_step(), oi_cs(), oi_othercs(), oiv_cs(), OpacityAdd1Subshell(), OpacityAdd1SubshellInduc(), OpacityAddTotal(), OpacityCreateAll(), outline_base(), ov_cs(), phymir_state< X, Y, NP, NSTR >::p_setup_next_hyperblock(), ParseAtomISO(), ParseCommands(), ParseCosmicRays(), ParseRangeOption(), ParseSave(), ParseSet(), ParseStop(), partx(), PlanckIntegral(), pltcon(), pltmap(), pltopc(), pltr(), PressureRadiationLine(), PresTotCurrent(), prt_smooth_predictions(), PrtComment(), PrtFinal(), PrtLinePres(), PrtMeanIon(), qheat(), qheat_init(), qintr(), radius_first(), radius_increment(), radius_next(), read_SH98_He1_cross_sections(), RebinQHeatResults(), RebinSingleCell(), RT_continuum_shield_fcn(), RT_DestProb(), RT_diffuse(), RT_line_fine_opacity(), RT_line_one(), RT_line_one_tau_reset(), RT_line_one_tauinc(), RT_LineWidth(), RT_OTS_Update(), RT_recom_effic(), RT_stark(), RT_tau_init(), RTesc_lya(), RTesc_lya_1side(), SanityCheckBegin(), save_opacity(), SaveDo(), SaveHeat(), SaveLineData(), SetLimits(), SetLimitsSub(), setstp(), sii_cs(), simplx(), siv_cs(), spldrv_safe(), splint_safe(), subopt(), sumcon(), timestep_next(), uderiv(), UpdatePot(), writeCloudyDetails(), xinvrs(), xNI_coll_stren(), and ZoneStart().
MIN3 takes 3 arguments, returns the smallest of the 3
Definition at line 770 of file cddefines.h.
Referenced by atmdat_3body(), atmdat_CHIANTI_readin(), atmdat_STOUT_readin(), iso_continuum_lower(), ParseCommands(), pltcon(), pltmap(), pltopc(), and radius_first().
MIN4 takes 4 arguments, returns the smallest of the 4
Definition at line 775 of file cddefines.h.
Referenced by InterpolateGff(), iso_collapsed_bnl_set(), and radius_first().
| #define POW2 pow2 |
POW2 takes 1 argument, and squares it
Definition at line 933 of file cddefines.h.
Referenced by abund_starburst(), AssertFeIIDep(), collision_strength_VF01(), ColStrGBar(), ContSetIntensity(), CoolAlum(), CoolEvaluate(), CoolMagn(), CS_l_mixing_PS64(), CS_l_mixing_S62(), CS_PercivalRichards78(), DebyeDeriv(), dist(), DoFSMixing(), DoSutherland(), DrvCaseBHS(), DynaIonize(), DynaNewStep(), DynaPrtZone(), DynaStartZone(), eina(), esc_CRDwing_1side(), FeIICollRatesBoltzmann(), FeIICreate(), FillExtraLymanLine(), ForbiddenAuls(), FreeFreeGaunt(), fstats(), gbar0(), gbar1(), GetAveVelocity(), GetDopplerWidth(), GetGF(), GetHubbleFactor(), GetProbDistr_HighLimit(), gett2(), gett2o3(), GrainChargeTemp(), GrainCollHeating(), GrainDrift(), GrainMakeDiffuse(), GrainScreen(), GrainsInit(), GravitationalPressure(), diatomics::H2_Cooling(), H2_vib_dist(), t_ADfA::H_rad_rec(), helike_energy(), helike_transprob(), t_ADfA::hpfit(), hydro_vs_coll_str(), HydroEinstA(), HydroOscilStr(), HydroRecCool(), hypho(), diatomics::init(), InitSimPostparse(), IonCSInterp(), iso_assign_quantum_numbers(), iso_cool(), iso_create(), iso_rad_rec_cooling_approx(), iso_rad_rec_cooling_extra(), iso_state_lifetime(), lgCheckMonitors(), lgCompileAtmosphere(), lgConserveEnergy(), lines_hydro(), lines_lv1_li_ne(), lines_setup(), Magnetic_evaluate(), mole_effects(), mole_h2_grain_form(), mole_h_reactions(), ofit(), oi_cs(), OpacityAddTotal(), OpacityCreateAll(), k2DampArg::operator()(), optimize_subplex(), t_ADfA::phfit(), PlanckIntegral(), plankf(), PresTotCurrent(), PrtFinal(), qheat(), radius_first(), rayleh(), RT_continuum(), RT_continuum_shield_fcn(), RT_DestProb(), RT_diffuse(), RT_line_all(), RTesc_lya_1side(), S62_Therm_ave_coll_str(), SaveDo(), StarkCollTransProb_VF01(), sum_radiation(), tfidle(), ThetaNu(), uderiv(), UpdatePot1(), UpdatePot2(), y0b01(), zoneDensity(), and ZoneStart().
| #define POW3 pow3 |
POW3 takes 1 argument, and cubes it
Definition at line 940 of file cddefines.h.
Referenced by abund_starburst(), collision_strength_VF01(), ContSetIntensity(), cross_section(), CS_PercivalRichards78(), DebyeDeriv(), FeIICollRatesBoltzmann(), ffun1(), GetHS98CrossSection(), GetHubbleFactor(), GetProbDistr_LowLimit(), GrainDrift(), GravitationalPressure(), hydro_vs_coll_str(), hydro_vs_deexcit(), HydroOscilStr(), HydroRecCool(), iso_rad_rec_cooling_extra(), OpacityCreateAll(), my_Integrand_escConE2::operator()(), ParseAtomISO(), RebinAtmosphere(), save_opacity(), and y0b01().
| #define POW4 pow4 |
POW4 takes 1 argument, and raises it to the power 4
Definition at line 947 of file cddefines.h.
Referenced by ConvTempEdenIoniz(), GetHubbleFactor(), hydro_transprob(), iso_state_lifetime(), mie_write_opc(), PressureRadiationLine(), search_limit(), and size_distr().
| #define PrintEfmt | ( | F, | |
| V | |||
| ) | F, V |
create string with val and format, to print with %s,
much faster than above, totally native on non-MS systems
| *fmt | |
| val |
Definition at line 1476 of file cddefines.h.
Referenced by GammaPrt(), GetModel(), diatomics::H2_Prt_Zone(), HydroLevel(), InterpolateGridCoStar(), InterpolateRectGrid(), iso_collide(), iso_level(), iso_photo(), iso_radiative_recomb(), map_do(), PrintRatio(), prme(), PrtAllTau(), PrtFinal(), PrtHeader(), PrtHydroTrace1(), PrtZone(), RT_tau_init(), and Save1LineData().
| #define puts | ( | STR | ) | Using_puts_before_cdEXIT_is_no_longer_needed |
Definition at line 441 of file cddefines.h.
| #define REALLOC MyRealloc |
now special version of calloc - it dies if cannot allocate space.
Definition at line 523 of file cddefines.h.
Referenced by mole_make_groups(), opacity_more_memory(), ParseIterations(), and StarburstInitialize().
| #define STATIC static |
Definition at line 101 of file cddefines.h.
| #define STATIC_ASSERT | ( | x | ) | ((void)StaticAssertFailed< (x) == true >()) |
Definition at line 117 of file cddefines.h.
Referenced by multi_arr< realnum, 6 >::alloc(), atmdat_CHIANTI_readin(), and multi_geom< d, MEM_LAYOUT_VAL >::finalize().
| typedef struct t_CollRatesArray CollRateCoeffArray |
| typedef struct t_CollSplinesArray CollSplinesArray |
Definition at line 107 of file cddefines.h.
Definition at line 1228 of file cddefines.h.
| typedef struct t_StoutColls StoutColls |
Definition at line 110 of file cddefines.h.
| anonymous enum |
| Enumerator | |
|---|---|
| CHARS_SPECIES | |
Definition at line 278 of file cddefines.h.
| anonymous enum |
| Enumerator | |
|---|---|
| CHARS_ISOTOPE_SYM | |
Definition at line 279 of file cddefines.h.
| enum exit_type |
Definition at line 119 of file cddefines.h.
| enum methods |
| Enumerator | |
|---|---|
| Gaussian32 | |
| Legendre | |
Definition at line 1504 of file cddefines.h.
| enum split_mode |
split_mode defines how the routine Split generates substrings SPM_RELAX: multiple adjacent separators will be coalesced into one this way you can never get an empty substring SPM_KEEP_EMPTY: multiple adjacent separators will result in empty substrings to be added to the list SPM_STRICT: empty substrings are illegal
| Enumerator | |
|---|---|
| SPM_RELAX | |
| SPM_KEEP_EMPTY | |
| SPM_STRICT | |
Definition at line 1325 of file cddefines.h.
| double AnuUnit | ( | realnum | energy | ) |
AnuUnit produce continuum energy in arbitrary units, ip is on C scale
Definition at line 173 of file service.cpp.
References t_save::chConPunEnr, DEBUG_ENTRY, Energy::get(), t_save::ipConPun, and save.
Referenced by AGN_Hemis(), Save1Line(), Save1LineData(), save_opacity(), SaveDo(), SaveNewContinuum(), and SaveSpeciesOne().

| NORETURN void BadRead | ( | void | ) |
BadRead tried to read internal data and failed
Definition at line 901 of file service.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, and ShowMe().
Referenced by diatomics::H2_Read_hminus_distribution(), and HelikeTransProbSetup().

| void broken | ( | void | ) |
broken set flag saying that the code is broken
Definition at line 982 of file service.cpp.
References broke, DEBUG_ENTRY, and t_broke::lgBroke.
Referenced by fill_array(), and PresTotCurrent().
| void cap4 | ( | char * | chCAP, |
| const char * | chLab | ||
| ) |
cap4 convert first 4 char of input line chLab into chCAP all in caps, null termination
| chCAP | output string, cap'd first 4 char of chLab, |
| chLab | with null terminating input string ending with eol |
Definition at line 240 of file service.cpp.
References DEBUG_ENTRY, and toupper().
Referenced by cdEmis(), cdLine(), lgCheckMonitors(), optimize_func(), ParseNorm(), and PrtFinal().

| void caps | ( | char * | chCard | ) |
caps convert input command line (through eol) to ALL CAPS
| chCard | - line image as string of characters |
Definition at line 280 of file service.cpp.
References DEBUG_ENTRY, and toupper().
Referenced by cdColm(), cdEmis(), cdIonFrac(), cdRead(), cdTemp(), t_input::echo(), Parser::newlineProcess(), and PrtFinal().

| void cdPrepareExit | ( | exit_type | ) |
prepare termination of the code, but do not terminate yet
Definition at line 202 of file cdinit.cpp.
References cdInput(), cdOutput(), CloseSaveFiles(), cpu, grid, t_cpu::i(), ioQQQ, t_grid::lgGrid, t_cpu_i::lgMPISingleRankMode(), t_grid::pnunit, and SaveGrid().
Referenced by cdMain().

| void CodeReview | ( | void | ) |
CodeReview - placed next to code that needs to be checked
Definition at line 1000 of file service.cpp.
References broke, DEBUG_ENTRY, and t_broke::lgCheckit.
| double csphot | ( | long int | inu, |
| long int | ithr, | ||
| long int | iofset | ||
| ) |
csphot returns photoionization cross section from opacity stage using std pointers
| inu | INU is array index pointing to frequency where opacity is to be evaluated on f not c scale |
| ithr | ITHR is pointer to threshold |
| iofset | IOFSET is offset as defined in opac0 |
Definition at line 1602 of file service.cpp.
References DEBUG_ENTRY, opac, and t_opac::OpacStack.
Referenced by OpacityAddTotal().
| int dbg_printf | ( | int | debug, |
| const char * | fmt, | ||
| ... | |||
| ) |
dbg_printf is a debug print routine that was provided by Peter Teuben, as a component from his NEMO package. It offers run-time specification of the level of debugging
Definition at line 1031 of file service.cpp.
References DEBUG_ENTRY, t_trace::debug_level, ioQQQ, and trace.
| int dprintf | ( | FILE * | fp, |
| const char * | format, | ||
| ... | |||
| ) |
dprintf – version of fprintf which prepends DEBUG
Definition at line 1009 of file service.cpp.
References DEBUG_ENTRY.
Referenced by atmdat_readin(), CoolCarb(), CoolNitr(), CoolOxyg(), CoolSili(), CoolSulf(), DumpCoolStack(), DumpHeatStack(), iso_radiative_recomb_effective(), iter_track::print_status(), and qheat_init().
| double dsexp | ( | double | x | ) |
dsexp safe exponential function for doubles
| x |
Definition at line 953 of file service.cpp.
References DEBUG_ENTRY, and DSEXP_LIMIT.
Referenced by atom_levelN(), dBase_solve(), FastVoigtH(), FeIICollRatesBoltzmann(), Hion_coll_ioniz_ratecoef(), hydro_vs_ioniz(), iso_collide(), iso_satellite_update(), and mole_partition_function().
| double e2 | ( | double | t | ) |
e2 second exponential integral
| t | optical depth argument |
Definition at line 299 of file service.cpp.
References DEBUG_ENTRY, ee1(), max(), and sexp().
Referenced by DrvCaseBHS(), humlik(), IterRestart(), IterStart(), MakeHCTData(), newton_step(), my_Integrand_escConE2::operator()(), ParseDrive(), RT_continuum(), RT_tau_reset(), and SanityCheckBegin().

| double ee1 | ( | double | x | ) |
ee1 first exponential integral
| x | optical depth argument, returns e1(tau) |
Definition at line 312 of file service.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, and ioQQQ.
Referenced by e2(), Hion_coll_ioniz_ratecoef(), Hydcs123(), ParseDrive(), and SanityCheckBegin().
| double ee1_safe | ( | double | x | ) |
this one same as ee1, except is divided by a factor of exp(x), and is only to be used for x>1.
| x | optical depth argument, returns e1(tau) * exp(x) |
Definition at line 356 of file service.cpp.
References ASSERT, and DEBUG_ENTRY.
| double FFmtRead | ( | const char * | chCard, |
| long int * | ipnt, | ||
| long int | last, | ||
| bool * | lgEOL | ||
| ) |
FFmtRead - the free-format number reader
| *chCard | string giving the line image |
| *ipnt | the index for the character in the string where we shall start |
| last | the number of characters in the string - do not search beyond it |
| *lgEOL | true if hit end of line with no number |
Definition at line 381 of file service.cpp.
References ASSERT, DEBUG_ENTRY, ioQQQ, and min().
Referenced by atmdat_LAMDA_readin(), atmdat_readin(), atmdat_STOUT_readin(), Badnell_rec_init(), ContBandsCreate(), database_readin(), dgaunt(), DrvCaseBHS(), DrvEscP(), DrvHyas(), FeIIBandsCreate(), FillGFF(), diatomics::GetIndices(), GetStandardHeLines(), diatomics::H2_Read_hminus_distribution(), diatomics::H2_ReadDissocEnergies(), diatomics::H2_ReadDissprob(), diatomics::H2_ReadEnergies(), diatomics::H2_ReadTransprob(), HeCollidSetup(), HelikeTransProbSetup(), HyperfineCreate(), iso_recomb_setup(), FunctLAMDA::operator()(), ParseDrive(), ptrcer(), read_continuum_mesh(), read_Helike_cross_sections(), read_hm05(), read_SH98_He1_cross_sections(), ReadCollisionRateTable(), and ReadIsotopeFractions().

|
inline |
in string str, erase the first instance of substr returns true if an instance of substr was erased
Definition at line 1347 of file cddefines.h.
References FindAndReplace().

|
inline |
in string str, replace the first instance of substr with newstr returns true if an instance of substr was found and replaced
Definition at line 1335 of file cddefines.h.
Referenced by FindAndErase().
| void fixit | ( | void | ) |
fixit set flag saying that this code needs attention, but is not broken, code is in service.cpp
Definition at line 991 of file service.cpp.
References broke, DEBUG_ENTRY, and t_broke::lgFixit.
Referenced by AbundChange(), atmdat_CHIANTI_readin(), atmdat_readin(), atom_oi_calc(), ChargTranSumHeat(), ContCreatePointers(), ConvBase(), CoolEvaluate(), create_isotopologues_one(), database_readin(), diatomics::diatomics(), DynaCreateArrays(), FndLineHt(), ForbiddenAuls(), GetAveVelocity(), GetDensity(), gridXspec(), diatomics::H2_CollidRateEvalAll(), diatomics::H2_LevelPops(), diatomics::H2_X_sink_and_source(), HeatSum(), HomogeneousSource(), diatomics::init(), IonCSInterp(), IonHydro(), iso_collide(), iso_cool(), iso_ionize_recombine(), iso_level(), iso_satellite(), lgNetEdenSrcSmall(), lines(), lines_helium(), lines_hydro(), t_mole_global::make_species(), mole_check_reverse_reactions(), mole_create_react(), mole_generate_isotopologue_reactions(), diatomics::mole_H2_form(), mole_h2_grain_form(), mole_h_reactions(), mole_partition_function(), mole_solve(), OpacityAddTotal(), OpacityCreateAll(), ParseAtomH2(), ParseCosmology(), ParseDont(), pressureZone(), PresTotCurrent(), PrtZone(), punchFITS_PrimaryHeader(), radius_next(), read_data(), ReadIsotopeFractions(), RT_iso_integrate_RRC(), RT_line_all(), RT_line_escape(), RT_line_one_tauinc(), RT_OTS_Update(), RT_tau_init(), SaveNewContinuum(), set_fractionation(), SetDeuteriumIonization(), diatomics::SolveExcitedElectronicLevels(), state_get_put(), states_nelemfill(), store_new_densities(), zero(), and zoneDensity().
checks whether a number is within bounds
Definition at line 881 of file cddefines.h.
References ASSERT, fp_equal(), and isnan.
Referenced by DynaStartZone().

|
inline |
Definition at line 893 of file cddefines.h.
References ASSERT, fp_equal(), and isnan.

Definition at line 905 of file cddefines.h.
References ASSERT, fp_equal_tol(), and isnan.

|
inline |
Definition at line 917 of file cddefines.h.
References ASSERT, fp_equal_tol(), and isnan.

checks whether two FP numbers are "equal" (differ no more than n epsilon)
Definition at line 816 of file cddefines.h.
References ASSERT, isnan, max(), min(), and sign3().
Referenced by abund_starburst(), atmdat_HS_caseB(), atmdat_readin(), atom_level3(), cdLine(), ChargTranEval(), conorm(), phymir_state< X, Y, NP, NSTR >::continue_from_state(), ConvBase(), ConvEdenIoniz(), ConvInitSolution(), ConvTempEdenIoniz(), CoolCarb(), CoolEvaluate(), CoolNitr(), CoolOxyg(), CoolSili(), CoolSulf(), eden_sum(), EdenChange(), Fe2_cooling(), FeIICollRatesBoltzmann(), FeIICreate(), ffun1(), t_PredCont::find(), FindIndex(), fp_bound(), GrainChargeTemp(), GrainDrive(), diatomics::H2_LevelPops(), diatomics::H2_X_coll_rate_evaluate(), HeatSum(), Hydcs123(), HyperfineCS(), InitGrid(), InterpolateModel(), ion_recom_calculate(), iso_collide(), iso_level(), iso_radiative_recomb(), iso_renorm(), lgCheckMonitors(), lgValidBinFile(), MeanMassOfElement(), mie_read_opc(), diatomics::mole_H2_LTE(), mole_h_reactions(), NewChargeData(), optimize_subplex(), ParseGrid(), PrtFinal(), radius_first(), RauchInitializeSub(), ReadTable(), RT_DestProb(), RT_iso_integrate_RRC(), SanityCheckBegin(), SaveDo(), SearchModel(), diatomics::SolveSomeGroundElectronicLevels(), StarburstInitialize(), state_do(), and tfidle().

|
inline |
Definition at line 858 of file cddefines.h.
References ASSERT, isnan, and max().
Referenced by atmdat_readin(), ffun1(), fp_bound_tol(), get_total_abundance_ions(), diatomics::H2_LevelPops(), diatomics::mole_H2_form(), and TransitionProxy::outline().

|
inline |
Definition at line 869 of file cddefines.h.
References ASSERT, isnan, and max().

| double fudge | ( | long int | ipnt | ) |
fudge enter fudge factors, or some arbitrary number, with fudge command return value is the fudge factor fudge(-1) queries the routine for the number of fudge parameters that were entered, zero returned if none
| ipnt | integer saying which of the possible numbers on the fudge command to use - 0 would be the first |
Definition at line 481 of file service.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, t_fudgec::fudgea, fudgec, ioQQQ, t_fudgec::lgFudgeUsed, and t_fudgec::nfudge.
Referenced by atmdat_readin(), GrainChargeTemp(), InitEmissivities(), and PresTotCurrent().
|
inline |
get_ptr attribute shim to get raw pointer to contained data with correct type
Definition at line 1083 of file cddefines.h.
Referenced by multi_arr< realnum, 6 >::data(), funjac(), GetBins(), GetModel(), lgCompileAtmosphere(), lgCompileAtmosphereCoStar(), mole_solve(), newton_step(), outline_base(), ParseMonitorResults(), GroupMap::setup(), and solve_system().
|
inline |
Definition at line 1087 of file cddefines.h.
|
inline |
Definition at line 1091 of file cddefines.h.
|
inline |
Definition at line 1095 of file cddefines.h.
|
inline |
Definition at line 1099 of file cddefines.h.
| int GetQuote | ( | char * | chLabel, |
| char * | chCard, | ||
| char * | chCardRaw, | ||
| bool | lgABORT | ||
| ) |
GetQuote get any name between double quotes off command line
return string as chLabel, is null terminated returns zero for success, 1 for did not find double quotes
| *chLabel | null terminated string between quotes |
| *chCard | input line, imagae, we set string between quotes to spaces |
| lgABORT | if true then abort if no double quotes found, if false then return null string in this case, |
Definition at line 513 of file service.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, strchr_s(), and TotalInsanity().
Referenced by cdRead(), and Parser::GetQuote().

|
inline |
Definition at line 1052 of file cddefines.h.
|
inline |
Definition at line 1065 of file cddefines.h.
Referenced by multi_arr< realnum, 6 >::invalidate(), and flex_arr< double >::invalidate().
|
inline |
Definition at line 1071 of file cddefines.h.
References set_NaN().

|
inline |
Definition at line 1076 of file cddefines.h.
References set_NaN().

| long int ipow | ( | long | , |
| long | |||
| ) |
ipow
Definition at line 639 of file service.cpp.
References DEBUG_ENTRY, and is_odd().

|
inline |
checks whether argument is odd
Definition at line 718 of file cddefines.h.
Referenced by expn(), fsff(), diatomics::init(), ipow(), ParseSave(), powi(), and SaveDo().
|
inline |
Definition at line 719 of file cddefines.h.
|
inline |
Definition at line 779 of file cddefines.h.
Referenced by flex_arr< double >::alloc(), atmdat_CHIANTI_readin(), bhintegrand(), bhintegrand_log(), ContSetIntensity(), ConvInitSolution(), ConvPresTempEdenIoniz(), ConvTempEdenIoniz(), database_readin(), dawson(), dBase_solve(), e2(), FeIICreate(), find_arr(), fp_equal(), fp_equal_tol(), GrnStdDpth(), GrnVryDpth(), IncidentContinuumHere(), InitBinAugerData(), phymir_state< X, Y, NP, NSTR >::initial_run(), ipFindLevLine(), iso_satellite_update(), main(), t_mean::MeanInc(), t_mean::MeanIon(), mie_auxiliary(), mie_cs(), mie_find_slope(), mie_integrate(), mie_read_mix(), mie_repair(), mie_write_opc(), optimize_func(), optimize_phymir(), iter_track::p_clear1(), phymir_state< X, Y, NP, NSTR >::p_clear1(), iter_track_basic< T >::p_clear1(), phymir_state< X, Y, NP, NSTR >::p_evaluate_hyperblock(), phymir_state< X, Y, NP, NSTR >::p_setup_next_hyperblock(), pah1_fun(), ParseGrid(), ParseInterp(), ParseStop(), PrettyTransmission(), flex_arr< double >::realloc(), multi_geom< d, MEM_LAYOUT_VAL >::reserve(), search_limit(), sinpar(), flex_arr< double >::size(), t_mean::t_mean(), TempInterp(), TempInterp2(), UpdatePot1(), phymir_state< X, Y, NP, NSTR >::xmin(), Yfunc(), and ZoneStart().
|
inline |
Definition at line 780 of file cddefines.h.
|
inline |
Definition at line 781 of file cddefines.h.
|
inline |
Definition at line 782 of file cddefines.h.
|
inline |
Definition at line 727 of file cddefines.h.
Referenced by atmdat_CHIANTI_readin(), chi2_func(), ConvEdenIoniz(), ConvPresTempEdenIoniz(), ConvTempEdenIoniz(), CoolNitr(), dawson(), iter_track::deriv(), FFmtRead(), find_arr(), fp_equal(), phymir_state< X, Y, NP, NSTR >::initial_run(), ld01_fun(), mie_auxiliary(), mie_auxiliary2(), mie_integrate(), mie_read_mix(), mie_read_opc(), mie_read_rfi(), mie_write_opc(), iter_track::next_val(), optimize_func(), optimize_phymir(), iter_track_basic< T >::p_clear1(), phymir_state< X, Y, NP, NSTR >::p_evaluate_hyperblock(), phymir_state< X, Y, NP, NSTR >::p_setup_next_hyperblock(), pah1_fun(), ParseCommands(), PrintCenterLine(), PrintRates(), PrtFinal(), RT_line_escape(), RT_line_one_tau_reset(), Integrator< Integrand, Method >::sum(), TempInterp(), TempInterp2(), UpdatePot1(), phymir_state< X, Y, NP, NSTR >::xmax(), Yfunc(), iter_track::zero_fit(), and ZoneStart().
|
inline |
Definition at line 728 of file cddefines.h.
|
inline |
Definition at line 729 of file cddefines.h.
|
inline |
Definition at line 730 of file cddefines.h.
| void MyAssert | ( | const char * | file, |
| int | line, | ||
| const char * | comment | ||
| ) |
MyAssert a version of assert that fails gracefully
| *file | |
| line |
Definition at line 153 of file service.cpp.
References cdEXIT, conv, DEBUG_ENTRY, EXIT_FAILURE, fnzone, ioQQQ, iteration, t_conv::lgSearch, nzone, ShowMe(), and TorF().
Referenced by cdMain().

| void* MyCalloc | ( | size_t | num, |
| size_t | size | ||
| ) |
MyCalloc wrapper for calloc(). Returns a good pointer or dies.
| num | use same type as library function CALLOC |
| size |
Definition at line 1533 of file service.cpp.
References ASSERT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, and ioQQQ.
| double MyGaussRand | ( | double | PctUncertainty | ) |
A custom wrapper for RandGauss than truncates at two standard deviations.
| PctUncertainty |
Definition at line 1683 of file service.cpp.
References ASSERT, DEBUG_ENTRY, and RandGauss().
Referenced by iso_error_generation().

| void* MyMalloc | ( | size_t | size, |
| const char * | file, | ||
| int | line | ||
| ) |
MyMalloc wrapper for malloc(). Returns a good pointer or dies.
| size | use same type as library function malloc |
| file | |
| line |
Definition at line 1448 of file service.cpp.
References ASSERT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, t_struc::nzlim, set_NaN(), and struc.

| void* MyRealloc | ( | void * | p, |
| size_t | size | ||
| ) |
MyRealloc wrapper for realloc(). Returns a good pointer or dies.
| num | use same type as library function REALLOC |
| size |
Definition at line 1569 of file service.cpp.
References ASSERT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, and ioQQQ.
|
inline |
nint rounds to the nearest long int
Definition at line 723 of file cddefines.h.
Referenced by atmdat_readin(), GetOptColDen(), GetOptTemp(), GrainCharge(), GrainsInit(), InitEmissivities(), mie_write_form(), ParseGrid(), ParseSet(), t_ADfA::phfit(), ReadBadnellAIData(), sinpar(), and size_distr().
| long nMatch | ( | const char * | chKey, |
| const char * | chCard | ||
| ) |
nMatch determine whether match to a keyword occurs on command line, return value is 0 if no match, and position of match within string if hit
| *chKey | |
| *chCard |
Definition at line 451 of file service.cpp.
References ASSERT, DEBUG_ENTRY, and strstr_s().
Referenced by atmdat_CHIANTI_readin(), atmdat_LAMDA_readin(), atmdat_STOUT_readin(), Badnell_rec_init(), cdRead(), t_input::echo(), mie_read_mix(), mie_read_rfi(), mie_read_szd(), Parser::nMatch1(), ParseGrain(), ParseSave(), PrtFinal(), SaveDo(), StandardEnergyUnit(), StandardFluxUnit(), and vary_input().

|
inline |
Definition at line 612 of file cddefines.h.
References cpu, t_cpu::i(), and t_cpu_i::lgAssertAbort().
Referenced by multi_arr< realnum, 6 >::at(), flex_arr< double >::at(), n_pointer< T, N, ARPA_TYPE, true >::operator[](), n_pointer< T, N, C_TYPE, true >::operator[](), n_pointer< T, 1, ARPA_TYPE, true >::operator[](), n_pointer< T, 1, C_TYPE, true >::operator[](), const_n_pointer< T, N, ARPA_TYPE, true >::operator[](), const_n_pointer< T, N, C_TYPE, true >::operator[](), const_n_pointer< T, 1, ARPA_TYPE, true >::operator[](), const_n_pointer< T, 1, C_TYPE, true >::operator[](), flex_arr< double >::p_index(), basic_pntr< T, lgBC >::p_index_checked(), and multi_arr< realnum, 6 >::p_iterator_bc().

| double plankf | ( | long int | ip | ) |
plankf evaluate Planck function for any cell at current electron temperature
| ip |
Definition at line 1707 of file service.cpp.
References t_rfield::anu, t_rfield::ContBoltz, DEBUG_ENTRY, FR1RYD, POW2, and rfield.
Referenced by SaveDo().
|
inline |
Definition at line 935 of file cddefines.h.
Referenced by anomal(), ASINH(), atom_levelN(), Bruggeman(), C6cs123(), Ca20cs123(), chi2_func(), cnewton(), conorm(), ContSetIntensity(), CoolCarb(), Drude(), FastVoigtH(), Fe26cs123(), gauss_legendre(), h21_t_ge_10(), h21_t_lt_10(), hrii(), Hydcs123(), hydro_vs_coll_str(), hydro_vs_deexcit(), phymir_state< X, Y, NP, NSTR >::lgConvergedRestart(), linfit(), log10_prodxx(), mie_auxiliary(), mie_cs(), mie_find_slope(), mie_integrate(), mie_read_opc(), mie_read_szd(), mole_effects(), Ne10cs123(), phymir_state< X, Y, NP, NSTR >::p_phygrm(), phymir_state< X, Y, NP, NSTR >::p_setup_next_hyperblock(), pah1_fun(), pah2_fun(), pah3_fun(), sinpar(), size_distr(), Stognienko(), y1psa(), and ZoneStart().
|
inline |
Definition at line 942 of file cddefines.h.
Referenced by Badnell_rec_init(), elec_esc_length(), GrnStdDpth(), H_Einstein_A_lin(), H_Einstein_A_log10(), hydro_vs_coll_recomb(), hydro_vs_coll_str(), hydro_vs_deexcit(), hydro_vs_ioniz(), diatomics::init(), ion_recom_calculate(), ld01_fun(), mie_auxiliary(), mie_integrate(), pah1_fun(), pah2_fun(), pah3_fun(), sinpar(), y1psa(), and y2pa().
|
inline |
Definition at line 949 of file cddefines.h.
| double powi | ( | double | , |
| long | int | ||
| ) |
powi raise x to integer power
Definition at line 604 of file service.cpp.
References DEBUG_ENTRY, and is_odd().
Referenced by add_mx(), bessel_jn(), bhG(), bhg(), DebyeDeriv(), expn(), F21i_log(), FeIILyaPump(), fsff(), GrainCharge(), t_ADfA::H_rad_rec(), Hion_coll_ioniz_ratecoef(), hrii(), hrii_log(), hydro_vs_coll_str(), hydro_vs_deexcit(), HydroRecCool(), InitEmissivities(), iso_rad_rec_cooling_extra(), MolDissocCrossSection(), ParseBackgrd(), PlanckIntegral(), PrtComment(), rayleh(), size_distr(), and unmxify().

| void PrintE71 | ( | FILE * | , |
| double | |||
| ) |
print with 1p,e8.1 format onto stream FILE
Definition at line 788 of file service.cpp.
References DEBUG_ENTRY.
Referenced by PrtFinal().
| void PrintE82 | ( | FILE * | , |
| double | |||
| ) |
print with 1p,e8.2 format onto stream FILE all are located in printe82.c
Definition at line 739 of file service.cpp.
References DEBUG_ENTRY.
Referenced by AbundancesSet(), IonHydro(), PrtAllTau(), PrtFinal(), and PrtHeader().
| void PrintE93 | ( | FILE * | , |
| double | |||
| ) |
print with 1p,e9.3 format onto stream FILE
Definition at line 838 of file service.cpp.
References DEBUG_ENTRY.
Referenced by HydroLevel(), PrtAllTau(), PrtFinal(), PrtHeader(), PrtHydroTrace1a(), PrtZone(), and save_opacity().
| double qg32 | ( | double | , |
| double | , | ||
| double(*)(double) | |||
| ) |
32 point gaussian quadrature integration
| xl | lower limit to integration |
| xu | - upper limit to integration |
| (*fct) | - pointer to routine to be integrated, arg is x val |
Definition at line 1053 of file service.cpp.
References DEBUG_ENTRY.
Referenced by AngerJ(), cont_gaunt_calc(), CS_ThermAve_PR78(), iso_radrecomb_from_cross_section(), Recomb_Seaton59(), and SanityCheckBegin().
| double RandGauss | ( | double | xMean, |
| double | s | ||
| ) |
normal random variate generator
| xMean | mean value |
| s | standard deviation s |
Definition at line 1643 of file service.cpp.
References BIGDOUBLE, DEBUG_ENTRY, genrand_real3(), x1, and x2.
Referenced by Badnell_rec_init(), diatomics::init(), and MyGaussRand().

| char* read_whole_line | ( | char * | chLine, |
| int | nChar, | ||
| FILE * | ioIN | ||
| ) |
read_whole_line safe version of fgets - read a line, return null if cannot read line or if input line is too long
| char | *chLine - previously allocated string where the line image will be stored |
| int | nChar size of chLine, we will return NULL if input line is longer than this |
| FILE | *ioIN a previously opened file handle, will read from from here |
Definition at line 70 of file service.cpp.
References called, DEBUG_ENTRY, ioQQQ, lgAbort, and t_called::lgTalk.
Referenced by atmdat_LAMDA_readin(), atmdat_readin(), atmdat_STOUT_readin(), Badnell_rec_init(), cdGetLineList(), cdMain(), ContBandsCreate(), database_readin(), dgaunt(), DrvCaseBHS(), DrvEscP(), DrvHyas(), FeIIBandsCreate(), FeIICreate(), FillGFF(), GetNextLine(), GetStandardHeLines(), diatomics::H2_CollidRateRead(), diatomics::H2_Read_hminus_distribution(), diatomics::H2_ReadDissocEnergies(), diatomics::H2_ReadDissprob(), diatomics::H2_ReadEnergies(), diatomics::H2_ReadTransprob(), HeCollidSetup(), HelikeTransProbSetup(), HyperfineCreate(), t_yield::init_yield(), iso_recomb_setup(), lgCompileAtmosphereCoStar(), mie_next_line(), ParseDrive(), ParseInit(), ptrcer(), RauchInitializeSub(), read_continuum_mesh(), read_Helike_cross_sections(), read_hm05(), diatomics::Read_Mol_Diss_cross_sections(), read_SH98_He1_cross_sections(), ReadCollisionRateTable(), ReadIsotopeFractions(), ReadTable(), and StarburstInitialize().
safe_div( x, y ) - do a really safe division x/y returns +/-FLT_MAX if the division would have overflowed (includes div by 0) returns NaN (i.e. crashes) when x or y are NaN, returns res_0by0 when evaluating 0/0
Definition at line 965 of file cddefines.h.
References isnan, and sign3().
Referenced by ConvEdenIoniz(), ConvTempEdenIoniz(), eden_sum(), EdenError(), GetFracPop(), iso_departure_coefficients(), iter_track::next_val(), RT_diffuse(), safe_div(), and SaveDo().

Definition at line 998 of file cddefines.h.
References safe_div().

|
inline |
safe_div( x, y ) - do a really safe division x/y returns +/-DBL_MAX if the division would have overflowed (includes div by 0) returns NaN (i.e. crashes) when x or y are NaN, returns res_0by0 when evaluating 0/0
Definition at line 1006 of file cddefines.h.
References isnan, and sign3().

|
inline |
Definition at line 1039 of file cddefines.h.
References safe_div().

| istream& SafeGetline | ( | istream & | is, |
| string & | t | ||
| ) |
Definition at line 1770 of file service.cpp.
Referenced by CloudyPrintReference(), and DatabasePrintReference().
SDIV safe division - div by SDIV(x) - if abs val of arg >SMALLFLOAT, returns arg, if < SMALLFLOAT, returns SMALLFLOAT - with negative arg return is +SMALLFLOAT so sign changes
Definition at line 956 of file cddefines.h.
References SMALLFLOAT.
Referenced by AbundancesSet(), t_fe2ovr_la::atoms_fe2ovr(), AtomSeqBoron(), cdTemp(), ChargTranEval(), check_co_ion_converge(), ChemImportance(), ContRate(), ConvBase(), ConvInitSolution(), CoolCarb(), CoolChlo(), CoolEvaluate(), CoolNitr(), CoolOxyg(), CoolSave(), DynaPunchTimeDep(), Fe2_cooling(), FeIILevelPops(), FeIIPunPop(), fill_array(), frac_H2star_hminus(), funjac(), GammaPrt(), GrainDrive(), diatomics::gs_rate(), H21_cm_pops(), diatomics::H2_Calc_Average_Rates(), diatomics::H2_Cooling(), diatomics::H2_Level_low_matrix(), diatomics::H2_LevelPops(), diatomics::H2_Prt_column_density(), diatomics::H2_Prt_Zone(), diatomics::H2_PunchDo(), diatomics::H2_Solomon_rate(), HeatSum(), HomogeneousSource(), ion_recomb(), ion_trim(), iso_cool(), iso_level(), iter_end_check(), IterEnd(), IterStart(), lgCheckMonitors(), lgCoolHeatCheckConverge(), lgNetEdenSrcSmall(), lgStatesConserved(), lines_continuum(), lines_grains(), t_mole_global::make_species(), t_mean::MeanInc(), diatomics::Mol_Photo_Diss_Rates(), mole_effects(), mole_h2_grain_form(), mole_h_rate_diagnostics(), mole_return_cached_species(), mole_solve(), oi_othercs(), ParseTable(), PresTotCurrent(), PrintRates(), prt_smooth_predictions(), PrtColumns(), PrtComment(), PrtFinal(), PrtZone(), radius_first(), radius_increment(), radius_next(), RT_continuum(), RT_continuum_shield_fcn(), RT_line_all(), RT_line_one_tauinc(), RT_OTS_Update(), RT_stark(), SaveDo(), SaveHeat(), SaveLineData(), diatomics::SolveExcitedElectronicLevels(), diatomics::SolveSomeGroundElectronicLevels(), and timestep_next().
|
inline |
Definition at line 958 of file cddefines.h.
References SMALLFLOAT.
sexp safe exponential function
Definition at line 914 of file service.cpp.
References DEBUG_ENTRY, and SEXP_LIMIT.
Referenced by atmdat_dielrec_fe(), atom_level2(), atom_pop5(), Badnell_DR_rate_eval(), ChargTranEval(), ColStrGBar(), CoolEvaluate(), e2(), extin(), ffun1(), GetAveVelocity(), t_rfield::getCoarseTransCoef(), GetDopplerWidth(), GrnStdDpth(), H21_cm_pops(), H21cm_electron(), diatomics::H2_CollidRateEvalAll(), diatomics::H2_LevelPops(), H2_vib_dist(), HCTRecom(), highen(), diatomics::init(), ion_recom_calculate(), iso_cool(), iso_level(), IterEnd(), IterRestart(), IterStart(), lines_continuum(), lines_lv1_na_ar(), mole_h2_grain_form(), diatomics::mole_H2_LTE(), mole_h_reactions(), oi_cs(), my_Integrand_con_pump_op::operator()(), ParseAgn(), ParseDrive(), PrtFinal(), RT_continuum(), RT_continuum_shield_fcn(), RT_recom_effic(), and SaveDo().
| double sexp | ( | double | x | ) |
Definition at line 933 of file service.cpp.
References DEBUG_ENTRY, and SEXP_LIMIT.
| void ShowMe | ( | void | ) |
print comment asking to show output to me
Definition at line 181 of file service.cpp.
References cdCautions(), cdPrintCommands(), cdWarnings(), conv, t_hextra::cryden, DEBUG_ENTRY, findspecieslocal(), h2, hextra, input, Singleton< t_version >::Inst(), ioQQQ, t_warnings::ncaun, t_input::nSaveIni, t_conv::nTeFail, t_warnings::nwarn, warnings, and molezone::xFracLim.
Referenced by atom_level3(), BadRead(), cloudy(), cnewton(), ContSetIntensity(), ConvEdenIoniz(), ConvFail(), ConvInitSolution(), ConvTempEdenIoniz(), CoolEvaluate(), coolpr(), escmase(), Fe3Lev14(), Fe4Lev12(), fill(), FindIndex(), GetFracPop(), GrainCharge(), diatomics::H2_ReadTransprob(), HeatSum(), ipoint(), iso_level(), iso_radiative_recomb(), iter_end_check(), lgCheckMonitors(), ligbar(), lines(), lines_setup(), mie_auxiliary(), mie_auxiliary2(), mie_cs_size_distr(), mie_read_mix(), mie_read_rfi(), mie_repair(), mie_write_opc(), MyAssert(), PresTotCurrent(), PrintRates(), prt_smooth_predictions(), PrtComment(), radius_first(), RauchInitializeSub(), RT_continuum(), RT_line_escape(), RT_tau_init(), SanityCheckBegin(), SaveDo(), size_distr(), TotalInsanity(), zero(), and zoneDensity().

|
inline |
FP sign transfer (fortran sign function) - sign of y times abs value of x
| x | |
| y |
Definition at line 804 of file cddefines.h.
Referenced by bessel_jn(), bessel_yn(), ConvEdenIoniz(), ConvPresTempEdenIoniz(), ConvTempEdenIoniz(), CoolSave(), lgReactBalance(), iter_track::next_val(), qheat_init(), setstp(), xinvrs(), and ZoneStart().
|
inline |
sign3 returns -1 for negative arguments, +1 for positive, and 0 for zero (pascal sign function)
Definition at line 812 of file cddefines.h.
Referenced by find_arr(), fp_equal(), iter_track::init_bracket(), mie_read_rfi(), RebinFind(), and safe_div().
| void Split | ( | const string & | str, |
| const string & | sep, | ||
| vector< string > & | lst, | ||
| split_mode | mode | ||
| ) |
Split: split a string into substrings using "sep" as separator
Definition at line 106 of file service.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, SPM_KEEP_EMPTY, and SPM_STRICT.
Referenced by t_cpu_i::t_cpu_i(), and t_version::t_version().
| void spsort | ( | realnum | x[], |
| long int | n, | ||
| long int | iperm[], | ||
| int | kflag, | ||
| int * | ier | ||
| ) |
spsort netlib routine to sort array returning sorted indices
| x[] | input array to be sorted |
| n | number of values in x |
| iperm[] | permutation output array |
| kflag | flag saying what to do - 1 sorts into increasing order, not changing |
| kflag | the original routine |
| *ier | error condition, should be 0 |
Definition at line 1100 of file service.cpp.
References DEBUG_ENTRY.
Referenced by atmdat_CHIANTI_readin(), CoolSave(), diatomics::H2_PunchDo(), PrtFinal(), PrtLinePres(), SanityCheckBegin(), and SaveHeat().
|
inline |
Definition at line 1443 of file cddefines.h.
Referenced by Badnell_rec_init(), cdMain(), cdRead(), GetQuote(), GetStandardHeLines(), HeCollidSetup(), HelikeTransProbSetup(), mie_read_mix(), ParseSave(), and ReadTable().
|
inline |
Definition at line 1448 of file cddefines.h.
|
inline |
Definition at line 1433 of file cddefines.h.
Referenced by atmdat_readin(), cdRead(), GetNextLine(), mie_next_data(), mie_read_opc(), mie_write_opc(), nMatch(), and ParseCompile().
|
inline |
Definition at line 1438 of file cddefines.h.
| void TestCode | ( | void | ) |
TestCode set flag saying that test code is in place
Definition at line 972 of file service.cpp.
References DEBUG_ENTRY, and lgTestCodeCalled.
Referenced by RT_continuum().
|
inline |
Definition at line 695 of file cddefines.h.
Referenced by atmdat_CHIANTI_readin(), tolower(), and uncaps().
|
inline |
Definition at line 699 of file cddefines.h.
References tolower().

|
inline |
Definition at line 714 of file cddefines.h.
Referenced by atom_levelN(), Badnell_rec_init(), ContSetIntensity(), ConvBase(), ConvEdenIoniz(), ConvIoniz(), ConvPresTempEdenIoniz(), ConvTempEdenIoniz(), GrainCharge(), GrainChargeTemp(), GrainsInit(), diatomics::H2_LevelPops(), InitSimPostparse(), iso_level(), lgConvTemp(), lgCoolNetConverge(), MyAssert(), open_data(), PressureChange(), PresTotCurrent(), PrtFinal(), qheat(), RT_OTS_PrtRate(), SaveDo(), SaveGrid(), store_new_densities(), t_version::t_version(), tfidle(), and zoneDensity().
| NORETURN void TotalInsanity | ( | void | ) |
TotalInsanity general error handler for something that cannot happen, exits
Definition at line 886 of file service.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, and ShowMe().
Referenced by AbundancesPrt(), multi_arr< realnum, 6 >::alloc(), atmdat_CHIANTI_readin(), atmdat_LAMDA_readin(), atmdat_readin(), atom_level3(), atom_levelN(), AtomCSInterp(), Badnell_rec_init(), cdInit(), cdLine(), cdMain(), cdRead(), CHIANTI_Upsilon(), t_ADfA::coll_ion_wrapper(), collision_strength_VF01(), conorm(), ContSetIntensity(), ConvInitSolution(), ConvIterCheck(), ConvTempEdenIoniz(), CoolCarb(), CoolEvaluate(), CoolNitr(), CoolOxyg(), CoolSave(), CoolSili(), CoolSulf(), cross_section(), CS_PercivalRichards78(), database_readin(), dawson(), dBase_solve(), DebyeDeriv(), DynaPunchTimeDep(), DynaSave(), multi_geom< d, MEM_LAYOUT_VAL >::finalize(), ForbiddenAuls(), ForcePass(), t_cpu_i::getPathList(), GetQuote(), GrainChargeTemp(), GrainMakeDiffuse(), GravitationalPressure(), GridGatherInCloudy(), GrnStdDpth(), H21_cm_pops(), diatomics::H2_LevelPops(), he_1trans(), helike_quantum_defect(), diatomics::init(), t_yield::init_yield(), InterpolateGridCoStar(), InterpolateModel(), InterpolateRectGrid(), IonCSInterp(), irsl2ind(), iso_assign_quantum_numbers(), iso_collapsed_Aul_update(), iso_collapsed_bnl_set(), iso_collide(), iso_create(), iso_cross_section(), iso_get_total_num_levels(), iso_radrecomb_from_cross_section(), iter_end_check(), lgCheckMonitors(), lgInputComment(), lgOptimize_do(), lines(), lines_setup(), t_mean::MeanIon(), mole_effects(), mole_h_reactions(), Opacity_iso_photo_cs(), phymir_state< X, Y, NP, NSTR >::p_barrier(), phymir_state< X, Y, NP, NSTR >::p_execute_job(), multi_arr< realnum, 6 >::p_setupArray(), pah2_fun(), pah3_fun(), ParseAtomFeII(), ParseAtomISO(), ParseBlackbody(), ParseCosmology(), ParseGrain(), ParseMonitorResults(), ParseSave(), ParseSet(), ParseTable(), PrtColumns(), PrtComment(), PrtFinal(), PrtMeanIon(), radius_first(), radius_next(), read_hm05(), read_SH98_He1_cross_sections(), ReadBadnellAIData(), rfield_opac_malloc(), RT_continuum(), RT_continuum_shield_fcn(), RT_OTS_ChkSum(), save_average(), SaveDo(), sprt_wl(), StarburstInitialize(), state_get_put(), states_nelemfill(), SumDensities(), tbl_fun(), tfidle(), timestep_next(), TlustyInterpolate(), TotalInsanityAsStub(), vary_input(), zoneDensity(), and ZoneStart().

| T TotalInsanityAsStub | ( | ) |
Definition at line 453 of file cddefines.h.
References TotalInsanity(), and ZeroNum.

|
inline |
Definition at line 704 of file cddefines.h.
Referenced by cap4(), caps(), database_readin(), diatomics::diatomics(), mie_read_word(), process_output(), and toupper().
|
inline |
Definition at line 708 of file cddefines.h.
References toupper().

| void uncaps | ( | char * | chCard | ) |
uncaps convert input command line (through eol) to all lowercase
| chCard | - line image as string of characters |
Definition at line 263 of file service.cpp.
References DEBUG_ENTRY, and tolower().
Referenced by atmdat_CHIANTI_readin(), atmdat_STOUT_readin(), and database_readin().

| const double DEPTH_OFFSET = 1.e-30 |
this is used to add to depth to prevent div or log of zero
Definition at line 276 of file cddefines.h.
Referenced by ParseSet(), PrtComment(), and zero().
| const double DSEXP_LIMIT = 680. |
this is -ln of smallest number dsexp can handle
Definition at line 1482 of file cddefines.h.
Referenced by dsexp().
| const int FILENAME_PATH_LENGTH = 200 |
FILENAME_PATH_LENGTH is the size of the string that holds the path. The longest string that can be held is one less than this, due to the end end of string sentinel in C. Increase this is a larger string is needed to hold the path on your system
Definition at line 250 of file cddefines.h.
| const int FILENAME_PATH_LENGTH_2 = FILENAME_PATH_LENGTH*2 |
twice the above, so that we can add file name to end of full path
Definition at line 253 of file cddefines.h.
Referenced by atmdat_CHIANTI_readin(), atmdat_LAMDA_readin(), atmdat_readin(), atmdat_STOUT_readin(), cdGetLineList(), ContBandsCreate(), database_readin(), FeIIBandsCreate(), FeIICreate(), GetNextLine(), diatomics::H2_CollidRateRead(), diatomics::H2_Read_hminus_distribution(), diatomics::H2_ReadDissocEnergies(), diatomics::H2_ReadDissprob(), diatomics::H2_ReadEnergies(), diatomics::H2_ReadTransprob(), t_yield::init_yield(), mie_next_line(), mie_read_mix(), mie_read_opc(), mie_read_rfi(), mie_read_szd(), mie_write_form(), mie_write_opc(), ParseCompile(), ParseGrain(), ParseInit(), ParseTable(), read_Helike_cross_sections(), diatomics::Read_Mol_Diss_cross_sections(), read_SH98_He1_cross_sections(), ReadAugerData(), and save_opacity().
| double fnzone |
this is nzone + conv.nPres2Ioniz/100 in ConvBase
Definition at line 15 of file cddefines.cpp.
Referenced by cloudy(), ConvBase(), ConvFail(), ConvPresTempEdenIoniz(), CoolCarb(), CoolEvaluate(), CoolOxyg(), eden_sum(), find_solution(), funjac(), GammaPrt(), GammaPrtShells(), GetFracPop(), GrainCharge(), GrainChargeTemp(), diatomics::H2_Cooling(), diatomics::H2_LevelPops(), diatomics::H2_Reset(), HomogeneousSource(), ion_recomb(), ion_trim(), IonHydro(), IonNelem(), iso_level(), mole_h2_grain_form(), mole_h_rate_diagnostics(), mole_h_reactions(), mole_solve(), MyAssert(), PresTotCurrent(), PrintRates(), RT_line_all(), RT_line_escape(), RT_OTS(), RT_OTS_PrtRate(), and zero().
| const int INPUT_LINE_LENGTH = 2000 |
this is limit to longest line of information that is scanned in, end of line char is actually at this +1, dim of vector is this + 1 all routines that scan in information should use this to dim vars
Definition at line 258 of file cddefines.h.
Referenced by AgeCheck(), Badnell_rec_init(), BadStart(), cdEmis(), cdIonFrac(), cdMain(), cdRead(), cdTemp(), ConvBase(), dgaunt(), DrvCaseBHS(), DrvEscP(), DrvHyas(), t_input::echo(), grid_do(), diatomics::H2_CollidRateRead(), HyperfineCreate(), lgCompileAtmosphereCoStar(), lgConserveEnergy(), lgStatesConserved(), Parser::newlineProcess(), parse_save_average(), parse_save_colden(), parse_save_line(), ParseAbundances(), ParseAtom(), ParseCMBOuter(), ParseDrive(), ParseMonitorResults(), ParseNorm(), ParseSave(), ParseSet(), ParseState(), ParseTest(), prt_smooth_predictions(), PrtComment(), PrtFinal(), ptrcer(), RauchInitializeSub(), read_continuum_mesh(), ReadCollisionRateTable(), ReadIsotopeFractions(), ReadTable(), t_conv::resetConvIoniz(), SaveGrid(), t_conv::setConvIonizFail(), Parser::setline(), StarburstInitialize(), state_get_put(), t_version::t_version(), and writeCloudyDetails().
| FILE* ioMAP |
Definition at line 9 of file cdinit.cpp.
Referenced by CloseSaveFiles(), iter_end_check(), ParseMap(), ParseSave(), and SaveFilesInit().
| FILE* ioPrnErr |
we shall write errors to this file, it is set to stderr in cdInit
Definition at line 9 of file cddefines.cpp.
Referenced by PrtComment(), t_cpu_i::t_cpu_i(), and zero().
| FILE* ioQQQ |
ioQQQ is the file handle to the output file itself, ioQQQ is set to stdout by default, and is reset to anything else by calling cdOutput
Definition at line 7 of file cddefines.cpp.
Referenced by AbortErrorMessage(), abund_starburst(), AbundancesPrt(), AbundancesSet(), AbundancesTable(), t_PredCont::add(), AGN_Hemis(), AtlasCompile(), atmdat_3body(), atmdat_CHIANTI_readin(), atmdat_dielrec_fe(), atmdat_LAMDA_readin(), atmdat_outer_shell(), atmdat_readin(), atmdat_STOUT_readin(), AtmospheresAvail(), atom_level3(), atom_levelN(), atom_oi_calc(), atom_pop5(), AtomSeqBeryllium(), Badnell_rec_init(), badprt(), BadRead(), bangin(), bessel_k0(), bessel_k0_scaled(), bessel_k1(), bessel_k1_scaled(), bessel_y0(), bessel_y1(), bessel_yn(), C6cs123(), Ca20cs123(), caunin(), cdClock(), cdColm(), cdDrive(), cdExecTime(), cdH2_colden(), cdInit(), cdIonFrac(), cdLine(), cdLine_ip(), cdMain(), cdOutput(), cdPrepareExit(), cdRead(), cdSPEC(), cdSPEC2(), cdTemp(), ChargTranPun(), ChargTranSumHeat(), ChckFill(), CheckVal(), t_mole_local::chem_heat(), ChemImportance(), chi2_func(), CHIANTI_Upsilon(), chMolBranch(), CloseSaveFiles(), cloudy(), CloudyPrintReference(), cnewton(), Parser::CommandError(), conorm(), ContBandsCreate(), ContCreateMesh(), ContCreatePointers(), ContNegative(), ContRate(), ContSetIntensity(), ConvBase(), ConvEdenIoniz(), ConvFail(), ConvInitSolution(), ConvIoniz(), ConvPresTempEdenIoniz(), ConvTempEdenIoniz(), CoolCalc(), CoolCarb(), CoolEvaluate(), CoolHeatError(), CoolNitr(), CoolOxyg(), coolpr(), CoolSave(), CoolSili(), CoolSulf(), CoolSum(), CoStarCompile(), CoStarListModels(), database_readin(), DatabasePrintReference(), dBase_solve(), dbg_printf(), dense_tabden(), dgaunt(), dmpary(), do_dump_state(), do_restore_state(), DoFSMixing(), doop(), Parser::doSetVar(), Drive_cdLine(), DrvCaseBHS(), DrvEscP(), DrvHyas(), DumpCoolStack(), DumpHeatStack(), DumpLine(), DynaEndZone(), DynaIonize(), DynaIterEnd(), DynaIterStart(), DynaNewStep(), DynaPrtZone(), DynaStartZone(), Parser::echo(), eden_sum(), EdenError(), ee1(), ellpk(), endFindLevLine(), esc_CRDwing_1side(), escmase(), expn(), F2_1(), factorial(), Fe26cs123(), Fe2_cooling(), Fe3Lev14(), Fe4Lev12(), FeII_Colden(), FeII_RT_Make(), FeIIAddLines(), FeIIBandsCreate(), FeIICollRatesBoltzmann(), FeIICreate(), FeIILevelPops(), FeIIPunData(), FeIIRadPress(), FeIISaveLines(), Parser::FFmtRead(), FFmtRead(), ffun(), ffun1(), fill(), FillExtraLymanLine(), FillGFF(), FillJ(), find_arr(), find_solution(), FindIndex(), fndneg(), fndstr(), FreeFreeGaunt(), fudge(), funjac(), GammaPrtShells(), gauss_legendre(), Energy::get(), get_total_abundance_ions(), GetBins(), GetFracPop(), GetLineRec(), GetModel(), GetNextLine(), Parser::getNumberCheckAlwaysLogLim(), GetOptColDen(), GetOptLineInt(), GetOptTemp(), GetPotValues(), GetProbDistr_HighLimit(), GetProbDistr_LowLimit(), GetQuote(), GetStandardHeLines(), diatomics::GetXColden(), GrainCharge(), GrainChargeTemp(), GrainCollHeating(), GrainDrift(), GrainDrive(), GrainsInit(), GrainTemperature(), GravitationalPressure(), grid_do(), GridCompile(), gridXspec(), GrnStdDpth(), H21_cm_pops(), diatomics::H2_Colden(), diatomics::H2_CollidRateEvalAll(), diatomics::H2_CollidRateRead(), diatomics::H2_Cooling(), diatomics::H2_Level_low_matrix(), diatomics::H2_LevelPops(), diatomics::H2_ParseSave(), diatomics::H2_Prt_Zone(), diatomics::H2_PrtDepartCoef(), diatomics::H2_Punch_line_data(), diatomics::H2_RadPress(), diatomics::H2_Read_hminus_distribution(), diatomics::H2_ReadDissocEnergies(), diatomics::H2_ReadDissprob(), diatomics::H2_ReadEnergies(), diatomics::H2_ReadTransprob(), diatomics::H2_Reset(), diatomics::H2_X_coll_rate_evaluate(), H_Einstein_A_lin(), H_Einstein_A_log10(), H_photo_cs_lin(), H_photo_cs_log10(), HCSAR_interp(), HCTIon(), HCTRecom(), He2cs123(), he_1trans(), HeatSum(), HeCollidSetup(), HeCSInterp(), HelikeTransProbSetup(), highen(), HomogeneousSource(), t_ADfA::hpfit(), hv(), Hydcs123(), HydroEinstA(), HydroLevel(), HydroRecCool(), HyperfineCreate(), IncidentContinuumHere(), diatomics::init(), t_yield::init_yield(), InitEmissivities(), InitGrid(), InitSimPostparse(), InterpolateGff(), InterpolateGridCoStar(), InterpolateModel(), InterpolateModelCoStar(), InterpolateRectGrid(), inv_ufunct(), ion_photo(), ion_recom_calculate(), ion_recomb(), ion_recombAGN(), ion_trim(), ion_wrapper(), IonHelium(), IonHydro(), IonNelem(), ipContEnergy(), ipFindLevLine(), ipLineEnergy(), ipoint(), ipShells(), iso_cascade(), iso_collapsed_bnl_print(), iso_collide(), iso_continuum_lower(), iso_cool(), iso_ionize_recombine(), iso_level(), iso_photo(), iso_prt_pops(), iso_radiative_recomb(), iso_radiative_recomb_effective(), iso_recomb_setup(), iso_renorm(), iso_set_ion_rates(), iso_update_num_levels(), iter_end_check(), IterEnd(), IterRestart(), IterStart(), Kurucz79Compile(), lfactorial(), lgCheckMonitors(), lgCompileAtmosphere(), lgCompileAtmosphereCoStar(), lgConserveEnergy(), lgConvTemp(), lgCoolNetConverge(), lgElemsConserved(), lgNetEdenSrcSmall(), lgOptimize_do(), lgStatesConserved(), lgValidModel(), ligbar(), LimitSh(), lines(), lines_continuum(), lines_general(), lines_helium(), lines_hydro(), lines_lv1_k_zn(), lines_lv1_li_ne(), lines_lv1_na_ar(), lines_setup(), lines_table(), LineStackCreate(), main(), map_do(), t_mean::MeanIon(), mie_auxiliary(), mie_auxiliary2(), mie_cs(), mie_cs_size_distr(), mie_find_slope(), mie_next_line(), mie_read_double(), mie_read_long(), mie_read_mix(), mie_read_opc(), mie_read_realnum(), mie_read_rfi(), mie_read_szd(), mie_repair(), mie_write_opc(), MihalasCompile(), mole_check_reverse_reactions(), mole_cmp_num_in_out_reactions(), mole_generate_isotopologue_reactions(), diatomics::mole_H2_LTE(), mole_h_rate_diagnostics(), mole_h_reactions(), mole_print_species_reactions(), mole_rk_bigchange(), mole_solve(), mole_system_error(), mole_update_rks(), mole_update_species_cache(), MyAssert(), MyCalloc(), MyMalloc(), MyRealloc(), Ne10cs123(), newreact(), newspecies(), newton_step(), Parser::NoNumb(), notein(), oi_level_pops(), opacity_more_memory(), OpacityAddTotal(), OpacityCreateAll(), OpacityCreateReilMan(), open_data(), optimize_func(), optimize_phymir(), phymir_state< X, Y, NP, NSTR >::p_execute_job(), phymir_state< X, Y, NP, NSTR >::p_execute_job_parallel(), Flux::p_InternalFluxUnit(), phymir_state< X, Y, NP, NSTR >::p_process_output(), EnergyEntry::p_set_ip(), parse_reaction(), parse_save_average(), parse_save_colden(), parse_save_line(), Parse_Save_Line_RT(), parse_species_label(), ParseAbsMag(), ParseAbundances(), ParseAge(), ParseAgn(), ParseAperture(), ParseAtom(), ParseAtomFeII(), ParseAtomH2(), ParseAtomISO(), ParseBackgrd(), ParseBlackbody(), ParseBremsstrahlung(), ParseCMB(), ParseCommands(), ParseCompile(), ParseConstant(), ParseCoronal(), ParseCosm(), ParseCosmicRays(), ParseCosmology(), ParseCovering(), ParseCrashDo(), ParseDarkMatter(), ParseDielectronic(), ParseDiffuse(), ParseDLaw(), ParseDont(), ParseDrive(), ParseDynaTime(), ParseDynaWind(), ParseElement(), ParseEnergy(), ParseExtinguish(), ParseF_nu(), ParseFail(), ParseFill(), ParseFluc(), ParseForceTemperature(), ParseGlobule(), ParseGrain(), ParseGravity(), ParseGrid(), ParseHDEN(), ParseHeLike(), ParseHelp(), ParseHExtra(), ParseHydrogen(), ParseIlluminate(), ParseInit(), ParseInitCount(), ParseIntensity(), ParseInterp(), ParseIonPar(), ParseLaser(), ParseLuminosity(), ParseMagnet(), ParseMap(), ParseMetal(), ParseMonitorResults(), ParseNorm(), ParseNumber(), ParseOptimize(), ParsePGrains(), ParsePhi(), ParsePlot(), ParsePlotRangeContin(), ParsePlotRangeOption(), ParsePowerlawContinuum(), ParsePrint(), ParsePrtLineSum(), ParseQH(), ParseRadius(), ParseRangeOption(), ParseRatio(), ParseSave(), ParseSet(), ParseSphere(), ParseState(), ParseStop(), ParseTable(), ParseTest(), ParseTLaw(), ParseTolerance(), ParseTrace(), ParseTurbulence(), PlanckIntegral(), plot(), pltcon(), pltmap(), pltopc(), pltr(), PntForLine(), PressureChange(), PresTotCurrent(), bad_assert::print(), print_delimiter(), iter_track::print_history(), iter_track::print_status(), t_cpu_i::printDataPath(), PrintRates(), PrintRatio(), prme(), process_output(), prt_constants(), prt_smooth_predictions(), PrtAllTau(), PrtComment(), PrtElem(), PrtFinal(), PrtHeader(), PrtHydroTrace1(), PrtHydroTrace1a(), PrtLineSum(), PrtMacros(), PrtMeanIon(), prtmet(), prtPunOpacSummary(), PrtTwoPhotonEmissCoef(), PrtZone(), ptrcer(), punchFITS_SpectraData(), qheat(), qheat_init(), qintr(), t_ADfA::rad_rec(), radius_first(), radius_increment(), radius_next(), RauchCompile(), RauchInitializeSub(), RauchReadMPP(), read_continuum_mesh(), read_Helike_cross_sections(), read_hm05(), read_whole_line(), t_input::readarray(), ReadAugerData(), ReadBadnellAIData(), ReadTable(), RebinQHeatResults(), RT_continuum(), RT_DestProb(), RT_diffuse(), RT_line_all(), RT_line_escape(), RT_line_one(), RT_line_one_tau_reset(), RT_OTS(), RT_OTS_AddLine(), RT_OTS_ChkSum(), RT_OTS_PrtRate(), RT_recom_effic(), RT_tau_inc(), RT_tau_init(), RT_tau_reset(), RTesc_lya_1side(), SanityCheck(), SanityCheckBegin(), save_average(), save_colden(), save_line(), Save_Line_RT(), save_opacity(), SaveDo(), saveFITSfile(), SaveHeat(), SaveLineData(), SaveLineStuff(), SaveResults1Line(), SaveSpecies(), ScaleAllDensities(), ScanProbDistr(), search_limit(), Energy::set(), SetLimits(), GroupMap::setup(), ShowMe(), size_distr(), solve_system(), diatomics::SolveExcitedElectronicLevels(), solveions(), spline_cubic_set(), Split(), StandardEnergyUnit(), StandardFluxUnit(), StarburstCompile(), StarburstInitialize(), state_do(), state_get_put(), states_nelemfill(), stepDensity(), store_new_densities(), StuffComment(), SumDensities(), t_ADfA::t_ADfA(), t_cpu_i::t_cpu_i(), t_fe2ovr_la::t_fe2ovr_la(), t_version::t_version(), TempChange(), TempInterp(), tfidle(), timestep_next(), TlustyCompile(), TotalInsanity(), totlin(), uderiv(), ufunct(), UpdatePot(), UpdateUTAs(), ValidateGrid(), vary_input(), warnin(), WernerCompile(), WMBASICCompile(), XERBLA(), y0b01(), Yfunc(), zero(), t_mole_global::zero(), zoneDensity(), and ZoneStart().
| FILE* ioStdin |
Definition at line 8 of file cddefines.cpp.
Referenced by cdInput(), cdMain(), dgaunt(), DrvCaseBHS(), DrvEscP(), DrvHyas(), ParseDrive(), ptrcer(), and t_cpu_i::t_cpu_i().
| const int ipALUMINIUM = 12 |
Definition at line 321 of file cddefines.h.
Referenced by AbundancesZero(), ChargTranEval(), CoolAlum(), CoolEvaluate(), PrtZone(), and SaveDo().
| const int ipARGON = 17 |
Definition at line 326 of file cddefines.h.
Referenced by AbundancesZero(), ChargTranEval(), CoolArgo(), CoolEvaluate(), ForbiddenAuls(), and HeatSum().
| const int ipBERYLLIUM = 3 |
Definition at line 312 of file cddefines.h.
Referenced by AbundancesZero(), and PrtZone().
| const int ipBORON = 4 |
Definition at line 313 of file cddefines.h.
Referenced by AbundancesZero(), and PrtZone().
| const int ipCALCIUM = 19 |
Definition at line 328 of file cddefines.h.
Referenced by AbundancesZero(), CoolCalc(), CoolEvaluate(), cross_section(), ion_photo(), lines_lv1_k_zn(), and read_Helike_cross_sections().
| const int ipCARBON = 5 |
Definition at line 314 of file cddefines.h.
Referenced by AbundancesSet(), AbundancesZero(), ChargTranEval(), check_co_ion_converge(), ContRate(), ContSetIntensity(), CoolCarb(), CoolEvaluate(), DynaIonize(), fill_array(), GrainCollHeating(), GrainRateDr(), HeatSum(), InitCoreload(), ion_photo(), lines_lv1_li_ne(), t_mole_global::make_species(), mie_auxiliary(), OpacityAddTotal(), pah1_fun(), pah2_fun(), pah3_fun(), ParseSave(), prt_smooth_predictions(), PrtComment(), PrtZone(), radius_increment(), radius_next(), ReadIsotopeFractions(), and SaveDo().
| const int ipCHLORINE = 16 |
Definition at line 325 of file cddefines.h.
Referenced by AbundancesZero(), ChargTranEval(), CoolChlo(), and CoolEvaluate().
| const int ipCHROMIUM = 23 |
Definition at line 332 of file cddefines.h.
Referenced by AbundancesZero(), CoolChro(), and CoolEvaluate().
| const int ipCOBALT = 26 |
Definition at line 335 of file cddefines.h.
Referenced by AbundancesZero(), and CoolEvaluate().
| const int ipCOPPER = 28 |
Definition at line 337 of file cddefines.h.
Referenced by AbundancesZero().
| const int ipCRD = -1 |
Definition at line 296 of file cddefines.h.
Referenced by FeIIZero(), lines_setup(), ParseAtomFeII(), ParseAtomISO(), RT_continuum_shield_fcn(), RT_line_escape(), and zero().
| const int ipCRDW = 2 |
Definition at line 298 of file cddefines.h.
Referenced by FeIIZero(), diatomics::init(), iso_satellite(), ParseAtomFeII(), ParseAtomISO(), RT_continuum_shield_fcn(), RT_line_escape(), and zero().
| const int ipDEST_INCOM = 2 |
Definition at line 304 of file cddefines.h.
Referenced by RT_DestProb(), and RT_line_escape().
| const int ipDEST_K2 = 1 |
Definition at line 302 of file cddefines.h.
Referenced by RT_DestProb(), and RT_line_escape().
| const int ipDEST_SIMPL = 3 |
Definition at line 306 of file cddefines.h.
Referenced by RT_DestProb().
| const int ipFLUORINE = 8 |
Definition at line 317 of file cddefines.h.
Referenced by AbundancesZero().
| const int ipHELIUM = 1 |
Definition at line 310 of file cddefines.h.
Referenced by AbundancesSet(), AbundancesZero(), AGN_Hemis(), AtomCSInterp(), Badnell_rec_init(), ChargTranEval(), ChargTranPun(), ChargTranSumHeat(), ContCreatePointers(), ContSetIntensity(), ConvBase(), CoolCarb(), CoolEvaluate(), CoolOxyg(), cross_section(), fill_array(), FillExtraLymanLine(), ForbiddenAuls(), GetStandardHeLines(), GrainDrift(), GrainRateDr(), diatomics::H2_X_coll_rate_evaluate(), he_1trans(), He_cross_section(), HeatSum(), HeCollidSetup(), HeCSInterp(), helike_energy(), helike_quantum_defect(), HelikeTransProbSetup(), ColliderList::init(), t_yield::init_yield(), InitCoreload(), InitSimPostparse(), ion_trim(), ion_wrapper(), IonCSInterp(), IonHelium(), iso_assign_quantum_numbers(), iso_cascade(), iso_collapsed_bnl_set(), iso_collapsed_update(), iso_continuum_lower(), iso_create(), iso_level(), iso_put_recomb_error(), iso_radiative_recomb(), iso_set_ion_rates(), iso_zero(), lgCheckMonitors(), lines(), lines_general(), lines_helium(), lines_hydro(), lines_lv1_li_ne(), lines_molecules(), map_do(), mole_create_react(), mole_h_reactions(), OpacityAddTotal(), OpacityCreateAll(), ParseElement(), ParseMonitorResults(), ParsePrint(), ParseSave(), ParseSet(), PrintRates(), PrtAllTau(), PrtComment(), PrtFinal(), PrtHeader(), PrtMeanIon(), PrtZone(), radius_increment(), radius_next(), read_Helike_cross_sections(), RT_OTS(), RT_OTS_PrtRate(), RT_tau_init(), SanityCheckBegin(), save_opacity(), SaveDo(), and zero().
| const int ipHYDROGEN = 0 |
these are indices for some elements, on the C scale
Definition at line 309 of file cddefines.h.
Referenced by AbundancesPrt(), AbundancesSet(), AbundancesZero(), AbundChange(), AGN_Hemis(), atmdat_readin(), atom_oi_calc(), t_fe2ovr_la::atoms_fe2ovr(), Badnell_rec_init(), diatomics::CalcPhotoionizationRate(), cdColm(), cdIonFrac(), cdTemp(), ChargTranEval(), ChargTranPun(), ChargTranSumHeat(), chkCaHeps(), conorm(), ContCreatePointers(), ContRate(), ContSetIntensity(), ConvBase(), ConvFail(), ConvInitSolution(), ConvPresTempEdenIoniz(), ConvTempEdenIoniz(), CoolCalc(), CoolCarb(), CoolChlo(), CoolEvaluate(), CoolIron(), CoolNeon(), CoolNick(), CoolOxyg(), CoolSili(), CoolSulf(), dBase_solve(), DynaCreateArrays(), DynaIonize(), DynaNewStep(), DynaPunchTimeDep(), DynaSave(), DynaSaveLast(), DynaStartZone(), eden_sum(), EdenChange(), Fe2_cooling(), FeIILevelPops(), FeIILyaPump(), fill_array(), find_solution(), GrainChargeTemp(), GrainCollHeating(), GrainDrift(), GrainDrive(), GrainMakeDiffuse(), GrainRateDr(), GrainsInit(), GrainTemperature(), GrainUpdateRadius1(), GrnStdDpth(), GrnVryDpth(), H21_cm_pops(), diatomics::H2_PunchDo(), diatomics::H2_PunchLineStuff(), diatomics::H2_X_coll_rate_evaluate(), t_ADfA::h_coll_str(), he_1trans(), HeatSum(), helike_quantum_defect(), highen(), HomogeneousSource(), Hydcs123(), HydroCSInterp(), ColliderList::init(), t_yield::init_yield(), InitBinAugerData(), InitCoreload(), InitDefaultsPreparse(), InitSimPostparse(), ion_photo(), ion_recom_calculate(), ion_recomb(), ion_recombAGN(), ion_trim(), ion_wrapper(), IonHydro(), iso_assign_quantum_numbers(), iso_charge_transfer_update(), iso_collapsed_bnl_set(), iso_collapsed_update(), iso_continuum_lower(), iso_cool(), iso_create(), iso_level(), iso_photo(), iso_suprathermal(), iso_update_rates(), iso_zero(), iter_end_check(), IterRestart(), IterStart(), lgCheckMonitors(), lgOH_ChargeTransferDominant(), lines(), lines_continuum(), lines_general(), lines_helium(), lines_hydro(), lines_lv1_li_ne(), lines_molecules(), logPressureState(), t_mole_global::make_species(), map_do(), t_mean::MeanInc(), mie_read_form(), mole_effects(), diatomics::mole_H2_form(), mole_h2_grain_form(), mole_h_fixup(), mole_h_rate_diagnostics(), mole_h_reactions(), mole_solve(), newspecies(), oi_cs(), oi_othercs(), OpacityAddTotal(), OpacityCreateAll(), pah1_fun(), ParseAtomISO(), ParseCommands(), ParseDLaw(), ParseElement(), ParseFluc(), ParseGlobule(), ParseHDEN(), ParsePrint(), ParseSave(), pltopc(), PressureChange(), PresTotCurrent(), PrintRates(), prt_smooth_predictions(), PrtAllTau(), PrtColumns(), PrtComment(), PrtFinal(), PrtHeader(), PrtHydroTrace1(), PrtMeanIon(), PrtZone(), radius_first(), radius_increment(), radius_next(), read_Helike_cross_sections(), RT_continuum(), RT_DestProb(), RT_diffuse(), RT_line_all(), RT_line_pumping(), RT_OTS(), RT_tau_init(), SanityCheckBegin(), save_opacity(), SaveDo(), SaveLineData(), SaveSpecial(), ScaleAllDensities(), ScaleIonDensities(), scalingDensity(), t_dense::SetGasPhaseDensity(), state_get_put(), states_nelemfill(), SumDensities(), tfidle(), total_molecule_elems(), total_network_elems(), zero(), t_dense::zero(), and zoneDensity().
| const int ipIRON = 25 |
Definition at line 334 of file cddefines.h.
Referenced by AbundancesZero(), atmdat_readin(), t_fe2ovr_la::atoms_fe2ovr(), Badnell_DR_rate_eval(), Badnell_RR_rate_eval(), ChargTranEval(), CoolEvaluate(), CoolIron(), Fe2_cooling(), Fe3Lev14(), Fe4Lev12(), FeII_RT_Make(), FeII_RT_Out(), FeII_RT_TauInc(), FeIILevelPops(), FeIILyaPump(), FeIIPunchLineStuff(), FeIIPunPop(), FeIIRadPress(), FeIISumBand(), InitCoreload(), ion_photo(), ion_recom_calculate(), lines(), lines_lv1_k_zn(), SaveDo(), and zero().
| const int ipKRYPTON = 35 |
Definition at line 339 of file cddefines.h.
Referenced by HeatSum().
| const int ipLITHIUM = 2 |
Definition at line 311 of file cddefines.h.
Referenced by AbundancesSet(), AbundancesZero(), AbundChange(), ChargTranEval(), ChargTranSumHeat(), ContSetIntensity(), CoolEvaluate(), cross_section(), eden_sum(), GrainsInit(), ion_recom_calculate(), ion_recombAGN(), mole_h_rate_diagnostics(), PrtZone(), read_Helike_cross_sections(), and save_opacity().
| const int ipLY_A = -2 |
Definition at line 300 of file cddefines.h.
Referenced by iso_create(), ParseAtomISO(), RT_continuum_shield_fcn(), RT_line_escape(), RT_line_one(), and RT_line_pumping().
| const int ipMAGNESIUM = 11 |
Definition at line 320 of file cddefines.h.
Referenced by AbundancesZero(), ChargTranEval(), CoolEvaluate(), CoolMagn(), InitCoreload(), ion_photo(), OpacityAddTotal(), and SaveDo().
| const int ipMANGANESE = 24 |
Definition at line 333 of file cddefines.h.
Referenced by AbundancesZero(), and ChargTranEval().
| const int ipNEON = 9 |
Definition at line 318 of file cddefines.h.
Referenced by AbundancesZero(), ChargTranEval(), CoolEvaluate(), CoolNeon(), ForbiddenAuls(), HeatSum(), and InitCoreload().
| const int ipNICKEL = 27 |
Definition at line 336 of file cddefines.h.
Referenced by AbundancesZero(), ChargTranEval(), ConvBase(), and CoolEvaluate().
| const int ipNITROGEN = 6 |
Definition at line 315 of file cddefines.h.
Referenced by AbundancesZero(), ChargTranEval(), CoolEvaluate(), CoolNitr(), InitCoreload(), ion_photo(), lines_lv1_li_ne(), OpacityAddTotal(), and PrtZone().
| const int ipOXYGEN = 7 |
Definition at line 316 of file cddefines.h.
Referenced by AbundancesSet(), AbundancesZero(), atom_oi_calc(), ChargTranEval(), check_co_ion_converge(), ChemImportance(), ContCreatePointers(), ContSetIntensity(), ConvBase(), ConvInitSolution(), CoolEvaluate(), CoolOxyg(), GrainCollHeating(), HeatSum(), HeCSInterp(), InitCoreload(), InitDefaultsPreparse(), ion_photo(), iter_end_check(), lgOH_ChargeTransferDominant(), lines_lv1_li_ne(), OpacityAddTotal(), OpacityCreateAll(), ParseSave(), PrtComment(), PrtFinal(), PrtZone(), radius_increment(), RT_OTS_PrtRate(), and SaveDo().
| const int ipPHOSPHORUS = 14 |
Definition at line 323 of file cddefines.h.
Referenced by AbundancesZero(), ChargTranEval(), CoolEvaluate(), and CoolPhos().
| const int ipPOTASSIUM = 18 |
Definition at line 327 of file cddefines.h.
Referenced by AbundancesZero(), ChargTranEval(), CoolEvaluate(), and OpacityCreateAll().
| const int ipPRD = 1 |
with the above, the total radiative rec per ion is iso.RadRecomb[ipISO][nelem][n][ipRecRad]* iso.RadRecomb[ipISO][nelem][n][ipRecNetEsc]*dense.eden;
Definition at line 294 of file cddefines.h.
Referenced by atmdat_readin(), database_prep(), lines_setup(), ParseAtomFeII(), ParseAtomISO(), ReadBadnellAIData(), RT_continuum_shield_fcn(), RT_line_escape(), and zero().
| const int ipRecEsc = 2 |
Definition at line 283 of file cddefines.h.
Referenced by iso_radiative_recomb(), lines_continuum(), freeBound::Reset(), RT_iso_integrate_RRC(), RT_OTS(), and SaveDo().
| const int ipRecNetEsc = 1 |
Definition at line 285 of file cddefines.h.
Referenced by iso_ionize_recombine(), iso_rad_rec_cooling_approx(), iso_rad_rec_cooling_extra(), iso_radiative_recomb(), IterStart(), freeBound::Reset(), RT_iso_integrate_RRC(), and SaveDo().
| const int ipRecRad = 0 |
Definition at line 287 of file cddefines.h.
Referenced by HydroRecCool(), iso_cool(), iso_ionize_recombine(), iso_rad_rec_cooling_approx(), iso_radiative_recomb(), iso_radiative_recomb_effective(), IterStart(), lines_continuum(), freeBound::Reset(), RT_OTS(), and SaveDo().
| const int ipSCANDIUM = 20 |
Definition at line 329 of file cddefines.h.
Referenced by AbundancesZero(), CoolEvaluate(), and CoolScan().
| const int ipSILICON = 13 |
Definition at line 322 of file cddefines.h.
Referenced by AbundancesZero(), ChargTranEval(), CoolEvaluate(), InitCoreload(), lines_lv1_na_ar(), and SaveDo().
| const int ipSODIUM = 10 |
Definition at line 319 of file cddefines.h.
Referenced by AbundancesZero(), ChargTranEval(), CoolEvaluate(), CoolSodi(), and SaveDo().
| const int ipSULPHUR = 15 |
Definition at line 324 of file cddefines.h.
Referenced by AbundancesZero(), ChargTranEval(), CoolEvaluate(), CoolSulf(), InitCoreload(), lines_lv1_na_ar(), and SaveDo().
| const int ipTITANIUM = 21 |
Definition at line 330 of file cddefines.h.
Referenced by AbundancesZero(), and ChargTranEval().
| const int ipVANADIUM = 22 |
Definition at line 331 of file cddefines.h.
Referenced by AbundancesZero().
| const int ipZINC = 29 |
Definition at line 338 of file cddefines.h.
Referenced by AbundancesZero(), and helike_energy().
| long int iteration |
the iteration counter, set and incremented in routine cloudy, ==1 during first iteration, 2 during second, etc
Definition at line 16 of file cddefines.cpp.
Referenced by atom_levelN(), diatomics::CalcPhotoionizationRate(), cdMain(), cloudy(), ConvBase(), ConvFail(), ConvInitSolution(), ConvIterCheck(), ConvPresTempEdenIoniz(), CoolEvaluate(), DynaIonize(), DynaIterEnd(), DynaIterStart(), DynaStartZone(), emergent_line(), esc_CRDcore(), esc_CRDwing(), esc_PRD(), Fe2_cooling(), FeIILyaPump(), FeIIRadPress(), funjac(), diatomics::H2_Level_low_matrix(), diatomics::H2_Reset(), HomogeneousSource(), iso_level(), iter_end_check(), IterEnd(), IterRestart(), IterStart(), lgCheckMonitors(), lgConserveEnergy(), lgTauGood(), lines(), mole_eval_dynamic_balance(), mole_h_reactions(), MyAssert(), PresTotCurrent(), PrtComment(), PrtFinal(), PrtHydroTrace1(), radius_first(), radius_increment(), radius_next(), RT_continuum(), RT_line_one_tau_reset(), RT_LineWidth(), RT_OTS_AddLine(), RT_recom_effic(), SaveDo(), state_get_put(), store_new_densities(), zero(), and ZoneStart().
| bool lgAbort |
this set true when abort sequence is initiated - serious meltdown is happening
Definition at line 10 of file cddefines.cpp.
Referenced by cdDrive(), cdMain(), cdNwcns(), cloudy(), ConvBase(), ConvFail(), ConvInitSolution(), ConvIoniz(), ConvPresTempEdenIoniz(), ConvTempEdenIoniz(), CoolHeatError(), EdenError(), GrainChargeTemp(), GrainMakeDiffuse(), grid_do(), diatomics::H2_LevelPops(), iter_end_check(), IterEnd(), IterRestart(), IterStart(), lgConserveEnergy(), lgConvTemp(), lgCoolNetConverge(), lgOptimize_do(), map_do(), open_data(), prt_smooth_predictions(), PrtComment(), PrtFinal(), radius_increment(), radius_next(), read_whole_line(), RT_diffuse(), RT_line_escape(), save_line(), SaveDo(), TempChange(), and zero().
| bool lgPrnErr |
this is flag saying whether to print errors to standard error output
Definition at line 13 of file cddefines.cpp.
Referenced by ParsePrint(), PrtComment(), t_cpu_i::t_cpu_i(), and zero().
| bool lgTestCodeCalled |
flag lgTestIt turned on if routine TestCode ever called, only generates comment that test code is in place
Definition at line 11 of file cddefines.cpp.
Referenced by PrtComment(), TestCode(), and zero().
| bool lgTestCodeEnabled |
flag lgTestOn set true with SET TEST command for some test code to be run somewhere
Definition at line 12 of file cddefines.cpp.
Referenced by ParseSet(), and zero().
| const int LIMELM = 30 |
This is the number of elements included in the code, is used to set lengths of many vectors
Definition at line 262 of file cddefines.h.
Referenced by abund_starburst(), AbundancesPrt(), AbundancesSet(), AbundancesZero(), AbundChange(), atmdat_3body(), atmdat_readin(), Badnell_DR_rate_eval(), Badnell_rec_init(), Badnell_RR_rate_eval(), cdColm(), cdIonFrac(), cdTemp(), ChargTranEval(), ChargTranPun(), ChargTranSumHeat(), chIonLbl(), t_ADfA::coll_ion_wrapper(), collision_strength_VF01(), ContCreatePointers(), ContSetIntensity(), ConvBase(), ConvInitSolution(), ConvIterCheck(), CoolEvaluate(), CoolSave(), CoolZero(), dBase_solve(), DumpHeatStack(), DynaCreateArrays(), DynaIonize(), DynaNewStep(), DynaSaveLast(), DynaStartZone(), eden_sum(), fill_array(), FillGFF(), get_total_abundance_ions(), Parser::GetElem(), GetStandardHeLines(), GrainChargeTemp(), GrainChrgTransferRates(), GrainCollHeating(), GrainDrive(), GrainElecEmis1(), GrainElecRecomb1(), GrainScreen(), GrainsInit(), GrainUpdateRadius1(), HCTIon(), HCTRecom(), HeatSum(), HeatZero(), helike_quantum_defect(), HelikeTransProbSetup(), highen(), HighestIonStage(), Hydcs123(), HydroLevel(), t_yield::init_yield(), InitBinAugerData(), InitCoreload(), InitCoreloadPostparse(), InitDefaultsPreparse(), InitSimPostparse(), ion_collis(), ion_CX(), ion_photo(), ion_recom_calculate(), ion_recomb(), ion_recombAGN(), ion_solver(), ion_trim(), ion_wrapper(), IonCSInterp(), ipFindLevLine(), ipShells(), iso_allocate(), iso_assign_quantum_numbers(), iso_charge_transfer_update(), iso_collide(), iso_continuum_lower(), iso_cool(), iso_create(), iso_ionize_recombine(), iso_level(), iso_photo(), iso_put_error(), iso_radiative_recomb(), iso_recomb_malloc(), iso_recomb_setup(), iso_satellite(), iso_suprathermal(), iso_update_rates(), iso_zero(), IterRestart(), IterStart(), lgNetEdenSrcSmall(), lines(), lines_continuum(), lines_general(), lines_helium(), lines_hydro(), lines_setup(), t_mole_global::make_species(), MakeHCTData(), map_do(), t_mean::MeanInc(), mie_read_form(), mie_read_mix(), mie_read_opc(), mie_read_rfi(), mie_write_form(), mie_write_opc(), mole_eval_dynamic_balance(), mole_eval_sources(), mole_h_rate_diagnostics(), mole_make_groups(), NewChargeData(), newisotope(), OpacityAdd1Element(), OpacityAddTotal(), OpacityCreate1Element(), OpacityCreateAll(), GrainVar::p_clear0(), GrainVar::p_clear1(), ParseAbundances(), ParseAtomISO(), ParseCompile(), ParseDrive(), ParseElement(), ParseMetal(), ParsePrint(), ParseSave(), ParseSet(), PresTotCurrent(), prt_smooth_predictions(), PrtColumns(), PrtComment(), PrtLinePres(), PrtMeanIon(), prtmet(), PrtZone(), radius_increment(), radius_next(), ReadAugerData(), rfield_opac_malloc(), RT_diffuse(), RT_iso_integrate_RRC(), RT_line_all(), RT_line_driving(), RT_OTS(), RT_OTS_Update(), RT_stark(), RT_tau_inc(), RT_tau_init(), RT_tau_reset(), SanityCheckBegin(), save_opacity(), SaveDo(), SaveGaunts(), SaveHeat(), SaveLineData(), SaveLineStuff(), SaveResults(), ScaleAllDensities(), t_mole_local::set_location(), state_get_put(), states_nelemfill(), store_new_densities(), SumDensities(), t_mean::t_mean(), t_yield::t_yield(), tfidle(), total_molecule_elems(), total_network_elems(), UpdatePot1(), UpdateRecomZ0(), UpdateUTAs(), zero(), and t_dense::zero().
| const double MAX_DENSITY = 1.e24 |
this is the maximum particle density allowed in cm^-3
Definition at line 273 of file cddefines.h.
Referenced by AbundancesSet(), find_solution(), get_total_abundance_ions(), iso_collide(), iso_continuum_lower(), ParseHDEN(), and store_new_densities().
| const int NHYDRO_MAX_LEVEL = 401 |
following is real limit to how many levels can be computed for model hydrogen atom - this has the one extra included, so at most iso.numLevels_max[ipH_LIKE] can be NHYDRO_MAX_LEVEL-1 and vectors should be dim NHYDRO_MAX_LEVEL
Definition at line 270 of file cddefines.h.
Referenced by t_ADfA::H_rad_rec(), t_ADfA::hpfit(), iso_radiative_recomb(), iso_recomb_setup(), Opacity_iso_photo_cs(), ParseAtomISO(), and t_ADfA::t_ADfA().
| const int NISO = 2 |
the number of iso sequences now in the code
Definition at line 265 of file cddefines.h.
Referenced by atmdat_readin(), Badnell_rec_init(), ContCreatePointers(), ContSetIntensity(), ConvBase(), ConvIterCheck(), CoolDima(), CoolEvaluate(), CoolSum(), DynaCreateArrays(), DynaIonize(), DynaNewStep(), DynaSaveLast(), DynaStartZone(), DynaZero(), fill_array(), FindNeg(), FndLineHt(), HeatSum(), InitCoreload(), InitCoreloadPostparse(), InitDefaultsPreparse(), InitSimPostparse(), ion_collis(), ion_CX(), ion_photo(), ion_recomb(), ion_solver(), ion_trim(), ipShells(), iso_allocate(), iso_assign_quantum_numbers(), iso_collapsed_update(), iso_collide(), iso_collisional_ionization(), iso_cool(), iso_create(), iso_ionize_recombine(), iso_level(), iso_photo(), iso_prt_pops(), iso_put_error(), iso_radiative_recomb(), iso_recomb_auxiliary_free(), iso_recomb_malloc(), iso_recomb_setup(), iso_satellite(), iso_satellite_update(), iso_suprathermal(), iso_update_rates(), iso_zero(), IterRestart(), IterStart(), lgTrivialSolution(), lines(), lines_continuum(), OpacityAdd1Element(), OpacityAddTotal(), ParseElement(), PresTotCurrent(), PrintRates(), PrtComment(), PrtLinePres(), prtmet(), PrtZone(), radius_increment(), RT_diffuse(), RT_iso_integrate_RRC(), RT_line_all(), RT_line_driving(), RT_OTS(), RT_OTS_Update(), RT_stark(), RT_tau_inc(), RT_tau_init(), RT_tau_reset(), SanityCheckBegin(), SaveLineData(), SaveLineStuff(), ScaleIonDensities(), state_get_put(), states_nelemfill(), store_new_densities(), and zero().
| long int nzone |
nzone is zone counter, incremented in routine cloudy is zero during search phase, 1 for first zone at illuminated face
Definition at line 14 of file cddefines.cpp.
Referenced by AbundChange(), AgeCheck(), AGN_Hemis(), t_fe2ovr_la::atoms_fe2ovr(), diatomics::CalcPhotoionizationRate(), cdDepth_depth(), cdMain(), cdnZone(), cdPressure_depth(), t_mole_local::chem_heat(), cloudy(), ContNegative(), ConvBase(), ConvFail(), ConvIterCheck(), ConvPresTempEdenIoniz(), CoolCarb(), CoolEvaluate(), CoolHeatError(), dmpary(), DynaIonize(), DynaNewStep(), DynaPrtZone(), DynaSaveLast(), DynaStartZone(), EdenChange(), escmase(), Fe2_cooling(), FeIIAddLines(), FeIIRadPress(), fndstr(), GetProbDistr_HighLimit(), GetProbDistr_LowLimit(), gett2(), gett2o3(), GrainChargeTemp(), GrainDrive(), diatomics::H2_Level_low_matrix(), diatomics::H2_LevelPops(), diatomics::H2_RT_tau_inc(), HeatSum(), HomogeneousSource(), ion_photo(), ion_trim(), IonHelium(), iso_cool(), iso_level(), iso_photo(), iso_set_ion_rates(), iso_update_rates(), iter_end_check(), IterEnd(), lgCheckMonitors(), lgConserveEnergy(), lgElemsConserved(), lgNetEdenSrcSmall(), lgStatesConserved(), lines_continuum(), lines_hydro(), lines_lv1_k_zn(), map_do(), mole_effects(), mole_h_rate_diagnostics(), mole_h_reactions(), mole_rk_bigchange(), mole_solve(), MyAssert(), NewChargeData(), OpacityAddTotal(), pltcon(), PressureChange(), PresTotCurrent(), PrintRates(), prt_smooth_predictions(), PrtComment(), PrtFinal(), PrtLineSum(), PrtZone(), qheat(), radius_first(), radius_increment(), radius_next(), RT_continuum(), RT_DestProb(), RT_diffuse(), RT_iso_integrate_RRC(), RT_line_all(), RT_line_one(), RT_OTS(), RT_stark(), RT_tau_inc(), save_line(), SaveDo(), SaveLineIntensity(), stepDensity(), store_new_densities(), zero(), zoneDensity(), and ZoneStart().
| const double SEXP_LIMIT = 84. |
this is -ln of smallest number sexp can handle
Definition at line 1480 of file cddefines.h.
Referenced by RT_diffuse(), RT_iso_integrate_RRC(), sexp(), and tfidle().
| const double ZeroNum |
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 cdinit.cpp.
Referenced by ParseCrashDo(), and TotalInsanityAsStub().
1.8.5