#include "cddefines.h"
#include "physconst.h"
#include "lines_service.h"
#include "iso.h"
#include "secondaries.h"
#include "taulines.h"
#include "elementnames.h"
#include "ionbal.h"
#include "rt.h"
#include "opacity.h"
#include "yield.h"
#include "dense.h"
#include "he.h"
#include "fe.h"
#include "rfield.h"
#include "oxy.h"
#include "atomfeii.h"
#include "atoms.h"
#include "trace.h"
#include "hmi.h"
#include "heavy.h"
#include "atmdat.h"
#include "ipoint.h"
#include "h2.h"
#include "continuum.h"
Go to the source code of this file.
Defines | |
#define | TwoS (1+ipISO) |
#define | NCRS 21 |
Functions | |
STATIC long | LimitSh (long int ion, long int nshell, long int nelem) |
STATIC void | ipShells (long int nelem) |
STATIC void | ContBandsCreate (const char chFile[]) |
STATIC void | fiddle (long int ipnt, double exact) |
void | ContCreatePointers (void) |
#define NCRS 21 |
Referenced by atmdat_2phot_shapefunction(), ContCreatePointers(), and hmiopc().
#define TwoS (1+ipISO) |
Definition at line 53 of file cont_createpointers.cpp.
Referenced by ContCreatePointers(), and RT_diffuse().
STATIC void ContBandsCreate | ( | const char | chFile[] | ) |
Definition at line 1445 of file cont_createpointers.cpp.
References t_rfield::anu, ASSERT, t_continuum::BandEdgeCorrHi, t_continuum::BandEdgeCorrLow, cdEXIT, t_continuum::chContBandLabels, t_continuum::ContBandWavelength, continuum, DEBUG_ENTRY, FFmtRead(), FILENAME_PATH_LENGTH_2, INPUT_LINE_LENGTH, ioQQQ, t_continuum::ipContBandHi, t_continuum::ipContBandLow, ipoint(), lgCalled, t_trace::lgConBug, t_trace::lgTrace, MALLOC, t_continuum::nContBand, open_data(), prt_wl(), read_whole_line(), rfield, RYDLAM, trace, and t_rfield::widflx.
Referenced by ContCreatePointers().
void ContCreatePointers | ( | void | ) |
ContCreatePointers create pointers for lines and continua, one time per coreload
Definition at line 59 of file cont_createpointers.cpp.
References abscf(), multi_arr< T, d, ALLOC, lgBC >::alloc(), t_rfield::anu, t_rfield::anu2, t_rfield::AnuOrg, t_rfield::anusqr, t_iso::As2nu, ASSERT, atmdat_2phot_shapefunction(), atoms, t_emission::Aul, cdEXIT, t_rfield::chContLabel, t_elementnames::chElementSym, chIonLbl(), t_elementnames::chIonStage, t_rfield::chLineLabel, chLineLbl(), multi_arr< T, d, ALLOC, lgBC >::clone(), ContBandsCreate(), continuum, t_emission::damp, t_emission::dampXvel, dBaseLines, DEBUG_ENTRY, dense, eina(), ELECTRON_MASS, elementnames, transition::Emis, EN1RYD, t_rfield::EnerGammaRay, transition::EnergyErg, transition::EnergyK, t_continuum::EnergyKshell, transition::EnergyWN, ERG1CM, EVRYD, ExtraLymanLines, fe, FeIIPoint(), fiddle(), t_continuum::filbnd, t_rfield::fine_anu, fixit(), t_quantumState::g, GetGF(), t_emission::gf, H2_ContPoint(), H2_Create(), he, Heavy, HFLines, transition::Hi, hmi, t_oxy::i2d, t_oxy::i2p, t_opac::ica2ex, t_opac::ih2pnt, t_hmi::iheh1, t_hmi::iheh2, t_opac::in1, t_fe2ovr_la::init_pointers(), Singleton< t_yield >::Inst(), Singleton< T >::Inst(), Singleton< t_fe2ovr_la >::Inst(), t_yield::ion_emit(), ionbal, ioQQQ, t_rfield::ip1000A, t_he::ip374, t_he::ip660, t_rfield::ipB_filter, t_opac::ipCKshell, t_ionbal::ipCompRecoil, transition::ipCont, ipContEnergy(), t_opac::ipElement, t_rfield::ipEnerGammaRay, t_fe::ipfe10, t_emission::ipFine, ipFineCont(), t_rfield::ipG0_DB96_hi, t_rfield::ipG0_DB96_lo, t_rfield::ipG0_spec_hi, t_rfield::ipG0_spec_lo, t_rfield::ipG0_TH85_hi, t_rfield::ipG0_TH85_lo, ipH1s, t_opac::ipH2_photo_thresh, ipH2p, ipH2s, ipH_LIKE, t_iso::ipHalfTwoPhoE, ipHe1s1S, ipHe2s1S, ipHE_LIKE, t_Heavy::ipHeavy, ipHELIUM, t_hmi::iphmin, ipHYDROGEN, t_iso::ipIsoLevNIonCon, ipLineEnergy(), t_opac::ipmgex, t_opac::ipo1exc, t_opac::ipo3exc, t_opac::ipo3exc3, t_atoms::ipoiex, ipoint(), ipOXYGEN, t_opac::ippr, t_secondaries::ipSecIon, ipShells(), t_iso::ipSym2nu, t_iso::ipTwoPhoE, t_rfield::ipV_filter, t_rt::ipxry, iso, iso_create(), t_continuum::KshellLimit, t_trace::lgConBug, t_iso::lgDielRecom, t_dense::lgElmtOn, t_rt::lgFstOn, lgLinesAdded, t_trace::lgPointBug, lgStatesAdded, t_trace::lgTrace, t_trace::lgTrLine, LIMELM, linesAdded2, transition::Lo, MAX2, NCRS, t_yield::nelem(), nHFLines, NISO, nLevel1, t_yield::nlines(), t_iso::nLyman_malloc, t_Heavy::nsShells, t_iso::numLevels_max, t_rfield::nupper, nUTA, nWindLine, opac, t_emission::opacity, oxy, t_fe::pfe10, t_fe::pfe11a, t_fe::pfe11b, t_fe::pfe14, PI, PI4, pow(), multi_arr< T, d, ALLOC, lgBC >::reserve(), rfield, rt, RYDLAM, SatelliteLines, secondaries, t_yield::set_ipoint(), t_iso::SmallA, SMALLFLOAT, SPEEDLIGHT, T1CM, TauDummy, TauLine2, TauLines, trace, t_emission::tran, Transitions, TwoS, UTALines, t_Heavy::Valence_IP_Ryd, WAVNRYD, t_rfield::widflx, WL_B_FILT, WL_V_FILT, transition::WLAng, and t_iso::xIsoLevNIonRyd.
Referenced by cloudy(), and ParseCompile().
STATIC void fiddle | ( | long int | ipnt, | |
double | exact | |||
) |
Definition at line 1157 of file cont_createpointers.cpp.
References t_rfield::anu, ASSERT, DEBUG_ENTRY, Ehi, Elo, t_rfield::nupper, rfield, and t_rfield::widflx.
Referenced by ContCreatePointers().
STATIC void ipShells | ( | long int | nelem | ) |
Definition at line 1203 of file cont_createpointers.cpp.
References t_rfield::anu, ASSERT, t_elementnames::chElementSym, t_elementnames::chIonStage, t_Heavy::chShell, continuum, DEBUG_ENTRY, elementnames, EVRYD, Heavy, Singleton< T >::Inst(), ioQQQ, t_Heavy::ipBalHeavy, ipContEnergy(), t_opac::ipElement, ipH1s, ipH_LIKE, t_Heavy::ipHeavy, ipLineEnergy(), t_Heavy::ipLyHeavy, ipoint(), iso, t_continuum::KshellLimit, t_trace::lgPointBug, t_trace::lgTrace, LIMELM, LimitSh(), NISO, t_Heavy::nsShells, opac, rfield, trace, t_Heavy::Valence_IP_Ryd, t_iso::xIsoLevNIonRyd, and t_Heavy::xLyaHeavy.
Referenced by ContCreatePointers().
STATIC long LimitSh | ( | long int | ion, | |
long int | nshell, | |||
long int | nelem | |||
) |
Definition at line 1359 of file cont_createpointers.cpp.
References cdEXIT, continuum, DEBUG_ENTRY, ioQQQ, t_opac::ipElement, t_continuum::KshellLimit, and opac.
Referenced by ipShells().