helike_level.cpp File Reference

#include "cddefines.h"
#include "thirdparty.h"
#include "trace.h"
#include "secondaries.h"
#include "atmdat.h"
#include "phycon.h"
#include "ionbal.h"
#include "dense.h"
#include "conv.h"
#include "rfield.h"
#include "he.h"
#include "iso.h"
#include "helike.h"
#include "mole.h"
#include "taulines.h"
#include "physconst.h"
#include "dynamics.h"
#include "continuum.h"

Include dependency graph for helike_level.cpp:

Go to the source code of this file.

Defines

#define PARALLEL   false
#define AMAT(I_, J_)   (*(amat+(I_)*(iso.numLevels_local[ipHE_LIKE][nelem])+(J_)))

Functions

void HeLikeLevel (long nelem)
void HeLikeError (long nelem)


Define Documentation

#define AMAT ( I_,
J_   )     (*(amat+(I_)*(iso.numLevels_local[ipHE_LIKE][nelem])+(J_)))

#define PARALLEL   false

Referenced by HeLikeLevel().


Function Documentation

void HeLikeError ( long  nelem  ) 

HeLikeError generate gaussian errors

Parameters:
nelem 

Definition at line 1098 of file helike_level.cpp.

References ASSERT, t_helike::Error, t_helike::ErrorFactor, helike, ipHe1s1S, ipHe2s3S, ipHE_LIKE, IPRAD, iso, L_, t_helike::lgHugeCaseB, MyGaussRand(), N_, t_iso::n_HighestResolved_max, t_iso::numLevels_max, and putError().

Referenced by HeCreate(), and HeLike().

Here is the call graph for this function:

void HeLikeLevel ( long  nelem  ) 

HeLikeLevel level populations

Parameters:
nelem 

Todo:
2 Can't be used for helium sequence because suprathermals rate has not been split up into individual levels for helium sequence. So Secondaries structure must be extended to include helium levels before the below code can be implemented. This is not a pressing correction because total suprathermal is already included for the sequence, but this should not be put off for too long because it should not be too difficult to do correctly.

Definition at line 31 of file helike_level.cpp.

References AMAT, amat, ASSERT, atmdat, EmLine::Aul, BIGDOUBLE, t_iso::Boltzmann, cdEXIT(), t_iso::chTypeAtomSet, t_iso::chTypeAtomUsed, t_iso::ColIoniz, t_ionbal::CollIonRate_Ground, EmLine::ColUL, ContNegative(), conv, t_secondaries::csupra, DEBUG_ENTRY, DEBUG_EXIT, dense, t_iso::DepartCoef, dynamics, E, t_dense::eden, t_dense::EdenHCorr, EmisLines, t_helike::ErrorFactor, findspecies(), fnzone, t_he::frac_he0dest_23S, t_he::frac_he0dest_23S_photo, t_iso::gamnc, getrf_wrapper(), getrs_wrapper(), EmLine::gHi, EmLine::gLo, t_atmdat::HCharExcRecTo, he, t_atmdat::HeCharExcRecTo, t_atmdat::HeCharExcRecTotal, helike, ionbal, t_dense::IonHigh, t_dense::IonLow, ioQQQ, ipCARBON, IPCOLLIS, ipH1s, ipHe1s1S, ipHe2p1P, ipHe2p3P0, ipHe2p3P1, ipHe2p3P2, ipHe2s1S, ipHe2s3S, ipHE_LIKE, ipHELIUM, ipHYDROGEN, t_trace::ipIsoTrace, ipiv, IPRAD, iso, KillIfBelowPlasma, Elevels::l, t_dynamics::lgAdvection, t_iso::lgColl_excite, t_helike::lgCritDensLMix, t_helike::lgCS_Vriens, t_helike::lgFSM, t_trace::lgHeBug, t_iso::lgInd2nu_On, t_dynamics::lgISO, t_trace::lgIsoTraceFull, t_helike::lgRandErrGen, t_conv::lgSearch, t_helike::lgSetBenjamin, t_dense::lgSetIoniz, t_trace::lgTrace, t_helike::Lifetime, LIMELM, MALLOC, MAX2, max_n, max_num_levels, MIN2, Elevels::n, N_, t_iso::n_HighestResolved_local, t_iso::n_HighestResolved_max, t_iso::nCollapsed_local, t_iso::nCollapsed_max, t_iso::numLevels_local, t_iso::numLevels_max, t_he::nzone, nzone, EmLine::ots, PARALLEL, EmLine::Pdest, EmLine::Pelec_esc, EmLine::Pesc, phycon, t_iso::Pop2Ion, t_iso::pop_ion_ov_neut, EmLine::PopHi, EmLine::PopLo, t_iso::PopLTE, EmLine::PopOpc, t_helike::qTot2TripS, t_iso::quant_desig, QuantumNumbers2Index, t_dynamics::Rate, t_iso::RateCont2Level, t_ionbal::RateIonizTot, t_iso::RateLevel2Cont, t_ionbal::RateRecomTot, Elevels::s, SDIV(), secondaries, ShowMe(), SMALLDOUBLE, SMALLFLOAT, t_dynamics::Source, t_iso::stat, t_phycon::te, trace, t_iso::TwoNu_induc_dn, t_iso::TwoNu_induc_up, WAVNRYD, t_dense::xIonDense, t_iso::xIonSimple, and z.

Referenced by HeLike().

Here is the call graph for this function:


Generated for cloudy by doxygen 1.5.9