#include "cddefines.h"
#include "physconst.h"
#include "lines_service.h"
#include "elementnames.h"
#include "taulines.h"
#include "path.h"
#include "trace.h"
#include "phycon.h"
#include "thermal.h"
#include "dense.h"
#include "iso.h"
#include "helike.h"
#include "helike_recom.h"
#include "helike_cs.h"
#include "helike_einsta.h"
#include "hydroeinsta.h"
Go to the source code of this file.
Defines | |
#define | NHE1LEVELS 111 |
#define | NIONLEVELS 31 |
#define | chLine_LENGTH 1000 |
#define | NTEMP 6 |
Functions | |
static double | he_energy (double Eff_n, long int nelem, long int ipLo) |
static double | defect (long int nelem, long int ipLo) |
static void | he_assign (long int nelem) |
static void | printCustomAs (void) |
void | HeCreate (void) |
Variables | |
static double | EthRyd |
static FILE * | ioOFP |
static char ** | chLevel |
static double | EionWN [LIMELM] |
static double | EionRYD [LIMELM] |
static double | He1Energies [NHE1LEVELS] |
static double | IonEnergies [LIMELM-2][NIONLEVELS] |
#define chLine_LENGTH 1000 |
Referenced by FillGFF(), GetStandardHeLines(), HeCreate(), HelikeRecombSetup(), and HelikeTransProbSetup().
#define NHE1LEVELS 111 |
Definition at line 53 of file helike_create.cpp.
Referenced by defect(), he_energy(), and HeCreate().
#define NIONLEVELS 31 |
#define NTEMP 6 |
Referenced by HeCreate().
static double defect | ( | long int | nelem, | |
long int | ipLo | |||
) | [static] |
Definition at line 283 of file helike_create.cpp.
References ASSERT, EionRYD, EionWN, He1Energies, ipHe1s1S, ipHE_LIKE, ipHELIUM, ipHYDROGEN, iso, Elevels::l, LIMELM, Elevels::n, t_iso::n_HighestResolved_max, NHE1LEVELS, t_iso::quant_desig, RYD_INF, and Elevels::s.
Referenced by HeCreate().
static void he_assign | ( | long int | nelem | ) | [static] |
Definition at line 419 of file helike_create.cpp.
References ASSERT, ipHE_LIKE, iso, Elevels::l, Elevels::n, t_iso::n_HighestResolved_max, t_iso::nCollapsed_max, t_iso::numLevels_max, t_iso::quant_desig, QuantumNumbers2Index, and Elevels::s.
Referenced by HeCreate().
static double he_energy | ( | double | Eff_n, | |
long int | nelem, | |||
long int | ipLo | |||
) | [static] |
Definition at line 253 of file helike_create.cpp.
References ASSERT, EionWN, He1Energies, IonEnergies, ipHELIUM, ipZINC, NHE1LEVELS, NIONLEVELS, and RYD_INF.
Referenced by HeCreate().
void HeCreate | ( | void | ) |
create he-like series
Statistical weights, Line and level energies, and
transition probabilities are calculated in this loop.
Allowed decay conversion probabilities. See Robbins68b, Table 1.
These are not used by the code. They're simply calculated for
output, (so Ryan can make unbelieveably pretty tables.)
Definition at line 563 of file helike_create.cpp.
References abscf(), t_phycon::alogte, ASSERT, EmLine::Aul, t_helike::BranchRatio, t_helike::CascadeProb, cdEXIT(), chDataPath, t_elementnames::chElementSym, chLevel, chLine_LENGTH, COLL_CONST, COLLISMAGIC, EmLine::ColOvTot, EmLine::cool, t_helike::cs_elec_power, t_helike::cs_heplus, t_helike::cs_heplus_power, t_helike::cs_prot_power, t_helike::cs_proton, t_helike::CSTemp, EmLine::dampXvel, DEBUG_ENTRY, DEBUG_EXIT, defect(), dense, DoFSMixing(), EionWN, elementnames, EmisLines, EN1RYD, EmLine::EnergyErg, EmLine::EnergyK, EmLine::EnergyWN, t_helike::Error, t_helike::ErrorFactor, EthRyd, t_iso::ExtraLymanLines, FFmtRead(), FILENAME_PATH_LENGTH_2, GetGF(), EmLine::gf, EmLine::gHi, EmLine::gLo, HE1CSARRAY, He1Energies, he_1trans(), he_assign(), he_energy(), EmLine::heat, t_helike::HeCS, HeCSInterp(), helike, HeLikeError(), HelikeRecombSetup(), HelikeTransProbSetup(), HeRecom(), HydroEinstA(), INPUT_LINE_LENGTH, EmLine::IonStg, ioQQQ, EmLine::ipCont, ipCRDW, ipELECTRON, ipHe1s1S, ipHe2p1P, ipHe2p3P0, ipHe2p3P1, ipHe2p3P2, ipHe2s1S, ipHe2s3S, ipHE_LIKE, ipHELIUM, ipIRON, ipOXYGEN, ipPRD, IPRAD, t_iso::ipResoRedist, EmLine::iRedisFun, iso, J_, Elevels::l, L_, t_helike::lgCompileRecomb, lgDataPathSet, t_dense::lgElmtOn, t_helike::lgFSM, t_trace::lgHeBug, t_helike::lgHugeCaseB, t_iso::lgInd2nu_On, t_helike::lgNoRecombInterp, t_helike::lgRandErrGen, t_helike::lgSetBenjamin, t_trace::lgTrace, t_helike::Lifetime, LIMELM, MALLOC, MAX2, MAX3, max_n, max_num_levels, MIN2, Elevels::n, N_, t_iso::n_HighestResolved_max, t_iso::nCollapsed_max, t_helike::nCS, EmLine::nelem, NHE1LEVELS, t_iso::nLyman, NTEMP, t_iso::numLevels_max, EmLine::opacity, path_not_set(), EmLine::Pdest, EmLine::Pelec_esc, EmLine::Pesc, phycon, PI4, t_iso::Pop2Ion, EmLine::PopHi, EmLine::PopLo, EmLine::PopOpc, POW2, printCustomAs(), EmLine::pump, putError(), t_helike::qTot2TripS, t_iso::quant_desig, QuantumNumbers2Index, t_helike::RadEffec, RefIndex(), RYD_INF, Elevels::s, S_, sexp(), t_helike::SigmaAtot, t_helike::SigmaCascadeProb, t_helike::SigmaRadEffec, t_iso::SmallA, t_iso::stat, t_phycon::te, TE1RYD, tfidle(), trace, WAVNRYD, EmLine::WLAng, EmLine::xIntensity, and t_iso::xIsoLevNIonRyd.
Referenced by ContCreatePointers().
static void printCustomAs | ( | void | ) | [static] |
Definition at line 516 of file helike_create.cpp.
References EmisLines, ioOFP, ipHE_LIKE, ipHELIUM, iso, L_, N_, t_iso::n_HighestResolved_max, t_iso::nCollapsed_max, t_iso::numLevels_max, QuantumNumbers2Index, and S_.
Referenced by HeCreate().
char** chLevel [static] |
Initial value:
{-DBL_MAX, 1.807387521,5.558764,11.310070,19.063237,28.815326,40.573682,54.330961,70.101861, 87.893725,107.662464,129.488916,153.299590,179.167978,207.020588,236.930910, 268.898946,302.851204,338.861175,376.928858,417.054255,459.237363,503.551674, 549.850208,598.279945,648.840883,701.459535,756.209388,812.796486,872.323172}
Definition at line 42 of file helike_create.cpp.
Referenced by defect().
Initial value:
{-DBL_MAX, 198310.6679 ,610003.839889137,1241136.72201499,2091948.45665631,3162116.52584231, 4452446.95015668,5962133.81875305,7692790.05069734,9645221.44709864,11814589.7994457, 14209766.0528639,16822685.5022862,19661412.9625169,22717883.6187518,26000162.0663204, 29508248.5246975,33234078.1790787,37185715.7345311,41363161.0813172,45766414.4389118, 50395475.4781030,55258409.0136949,60339085.8550283,65653635.1927626,71202056.8074231, 76976286.4328920,82984388.3352872,89194104.5722390,95726403.3055320}
Definition at line 29 of file helike_create.cpp.
Referenced by defect(), he_energy(), and HeCreate().
double EthRyd [static] |
double He1Energies[NHE1LEVELS] [static] |
Initial value:
{0.0 , 159855.9734, 166277.4390, 169087.8298, 169086.8417, 169086.7652, 171134.8957, 183236.7908, 184864.8281, 185564.6657, 186101.5615, 186104.9656, 186209.3638, 190298.6619, 190940.6075, 191217.0826, 191444.4868, 191446.4547, 191451.8805, 191451.8964, 191492.7108, 193346.9900, 193663.5106, 193800.7280, 193917.1538, 193918.2888, 193921.1207, 193921.1298, 193921.6166, 193921.6209, 193942.4612, 194936.1184, 195114.8672, 195192.7542, 195260.0724, 195260.7694, 195262.4251, 195262.4307, 195262.7236, 195262.7261, 195262.7930, 195262.7947, 195274.9074, 195868.2357, 195978.8938, 196027.3216, 196069.6730, 196070.1273, 196071.1763, 196071.1800, 196071.3686, 196071.3702, 196071.4141, 196071.4151, 196071.4283, 196071.4290, 196079.0865, 196461.3605, 196534.5628, 196566.7159, 196595.0620, 196595.3730, 196596.0785, 196596.0810, 196596.2092, 196596.2103, 196596.2404, 196596.2411, 196596.2503, 196596.2508, 196596.2541, 196596.2544, 196601.3992, 196861.9861, 196912.9014, 196935.3339, 196955.2261, 196955.4477, 196955.9445, 196955.9463, 196956.0373, 196956.0380, 196956.0595, 196956.0600, 196956.0666, 196956.0670, 196956.0693, 196956.0696, 196956.0705, 196956.0707, 196959.6917, 197145.2320, 197182.0643, 197198.3343, 197212.8252, 197212.9885, 197213.3513, 197213.3527, 197213.4194, 197213.4200, 197213.4358, 197213.4362, 197213.4411, 197213.4414, 197213.4431, 197213.4433, 197213.4440, 197213.4442, 197213.4445, 197213.4446, 197216.0885}
Definition at line 55 of file helike_create.cpp.
Referenced by defect(), he_energy(), and HeCreate().
double IonEnergies[LIMELM-2][NIONLEVELS] [static] |
FILE* ioOFP [static] |