cloudy
trunk
|
#include "cddefines.h"
#include "dense.h"
#include "prt.h"
#include "helike.h"
#include "iso.h"
#include "atmdat.h"
#include "lines.h"
#include "phycon.h"
#include "taulines.h"
#include "thirdparty.h"
#include "trace.h"
#include "freebound.h"
#include "two_photon.h"
#include "lines_service.h"
Go to the source code of this file.
Data Structures | |
struct | stdLines |
Macros | |
#define | NUMTEMPS 21 |
#define | NUMDENS 14 |
#define | chLine_LENGTH 1000 |
Functions | |
STATIC void | GetStandardHeLines (void) |
STATIC double | TempInterp2 (double *TempArray, double *ValueArray, long NumElements, double Te) |
STATIC void | DoSatelliteLines (long nelem) |
STATIC void | insert_trans (vector< TransitionProxy > &trList, TransitionProxy tr) |
STATIC void | multiplet_sum (vector< TransitionProxy > &trList, realnum &av_wl, double &sum_inten, double &sum_obs_inten, double &sum_cool, double &sum_heat) |
STATIC void | PutLineSum (const TransitionProxy &tr, const realnum av_wl, const double sumxInt, const double sumxObsInt, const double sumcool, const double sumheat, const char *chComment) |
STATIC realnum | get_multiplet_wl (vector< TransitionProxy > &multiHe, long ipHi, long ipLo) |
STATIC void | randomize_inten (t_iso_sp *sp, long ipLo, long ipHi) |
void | lines_helium (void) |
char * | read_data_line (char *chLine, int size, FILE *ioDATA) |
Variables | |
static bool | lgFirstRun = true |
static double | CaBDensities [NUMDENS] |
static double | CaBTemps [NUMTEMPS] |
static long | NumLines |
static double **** | CaBIntensity |
static stdLines ** | CaBLines |
#define chLine_LENGTH 1000 |
Referenced by GetStandardHeLines(), HeCollidSetup(), HelikeTransProbSetup(), and iso_recomb_setup().
#define NUMDENS 14 |
Definition at line 21 of file prt_lines_helium.cpp.
Referenced by GetStandardHeLines(), and lines_helium().
#define NUMTEMPS 21 |
Definition at line 20 of file prt_lines_helium.cpp.
Referenced by GetStandardHeLines(), and lines_helium().
STATIC void DoSatelliteLines | ( | long | nelem | ) |
Definition at line 822 of file prt_lines_helium.cpp.
References ASSERT, DEBUG_ENTRY, dense, t_dense::eden, TransitionProxy::Emis(), TransitionProxy::EnergyWN(), t_iso_sp::fb, ipHE_LIKE, ipSatelliteLines, iso_ctrl, iso_sp, t_isoCTRL::lgDielRecom, t_dense::lgElmtOn, t_iso_sp::numLevels_max, EmissionProxy::pump(), PutLine(), SatelliteLines, EmissionProxy::xIntensity(), t_dense::xIonDense, and EmissionProxy::xObsIntensity().
Referenced by lines_helium().
|
inline |
Definition at line 106 of file prt_lines_helium.cpp.
Referenced by lines_helium().
STATIC void GetStandardHeLines | ( | void | ) |
Definition at line 607 of file prt_lines_helium.cpp.
References ASSERT, atmdat, CaBDensities, CaBIntensity, CaBTemps, CASEBMAGIC, t_atmdat::CaseBWlHeI, cdEXIT, chLine_LENGTH, DEBUG_ENTRY, dense, EXIT_FAILURE, FFmtRead(), fprintf(), ioQQQ, ipHE_LIKE, ipHELIUM, stdLines::ipHi, stdLines::ipLo, iso_sp, t_dense::lgElmtOn, t_trace::lgTrace, LIMELM, MALLOC, t_iso_sp::nCollapsed_max, NUMDENS, NumLines, NUMTEMPS, open_data(), read_data_line(), read_whole_line(), strchr_s(), TotalInsanity(), trace, t_iso_sp::trans(), and TransitionProxy::WLAng().
Referenced by lines_helium().
STATIC void insert_trans | ( | vector< TransitionProxy > & | trList, |
TransitionProxy | tr | ||
) |
Definition at line 44 of file prt_lines_helium.cpp.
References TransitionProxy::ipCont().
Referenced by lines_helium().
void lines_helium | ( | void | ) |
enter all helium iso seq into emission line stack
Definition at line 130 of file prt_lines_helium.cpp.
References ASSERT, atmdat, CaBDensities, CaBIntensity, CaBTemps, t_atmdat::CaseBWlHeI, chIonLbl(), DEBUG_ENTRY, dense, DoSatelliteLines(), t_dense::eden, TransitionProxy::Emis(), exp10(), fixit, fprintf(), get_multiplet_wl(), GetStandardHeLines(), insert_trans(), ioQQQ, t_LineSave::ipass, TransitionProxy::ipCont(), ipH_LIKE, ipHe1s1S, ipHe2p3P0, ipHe2p3P1, ipHe2p3P2, ipHe2s3S, ipHe3d3D, ipHe3p3P, ipHe3s3S, ipHE_LIKE, ipHELIUM, ipHYDROGEN, iso_comment_tran_levels(), iso_ctrl, iso_sp, L_, t_isoCTRL::lgDielRecom, t_dense::lgElmtOn, lgFirstRun, t_isoCTRL::lgFSM, t_prt::lgPrnIsoCollapsed, t_isoCTRL::lgRandErrGen, t_trace::lgTrace, LIMELM, linadd(), LineSave, linint(), multiplet_sum(), N_, t_iso_sp::n_HighestResolved_max, t_iso_sp::nCollapsed_max, NUMDENS, t_iso_sp::numLevels_max, NumLines, NUMTEMPS, phots(), phycon, prt, PutLine(), PutLineSum(), t_iso_sp::QuantumNumbers2Index, randomize_inten(), set_xIntensity(), t_iso_sp::st, StuffComment(), EmissionProxy::TauIn(), EmissionProxy::TauTot(), t_phycon::te, TempInterp2(), trace, t_iso_sp::trans(), t_iso_sp::TwoNu, t_LineSave::WavLNorm, TransitionProxy::WLAng(), wn2ang(), and t_dense::xIonDense.
Referenced by lines().
STATIC void multiplet_sum | ( | vector< TransitionProxy > & | trList, |
realnum & | av_wl, | ||
double & | sum_inten, | ||
double & | sum_obs_inten, | ||
double & | sum_cool, | ||
double & | sum_heat | ||
) |
Definition at line 54 of file prt_lines_helium.cpp.
Referenced by lines_helium().
|
inline |
Definition at line 85 of file prt_lines_helium.cpp.
References TransitionProxy::Coll(), CollisionProxy::cool(), TransitionProxy::Emis(), CollisionProxy::heat(), PutLine(), TransitionProxy::WLAng(), EmissionProxy::xIntensity(), and EmissionProxy::xObsIntensity().
Referenced by lines_helium().
Definition at line 122 of file prt_lines_helium.cpp.
References TransitionProxy::Emis(), t_iso_sp::ex, IPRAD, t_iso_sp::trans(), EmissionProxy::xIntensity(), and EmissionProxy::xObsIntensity().
Referenced by lines_helium().
|
inline |
Definition at line 594 of file prt_lines_helium.cpp.
References read_whole_line().
Referenced by GetStandardHeLines().
STATIC double TempInterp2 | ( | double * | TempArray, |
double * | ValueArray, | ||
long | NumElements, | ||
double | Te | ||
) |
Definition at line 788 of file prt_lines_helium.cpp.
References ASSERT, DEBUG_ENTRY, hunt_bisect(), lagrange(), max(), and min().
Referenced by lines_helium().
|
static |
Definition at line 36 of file prt_lines_helium.cpp.
Referenced by GetStandardHeLines(), and lines_helium().
|
static |
Definition at line 39 of file prt_lines_helium.cpp.
Referenced by GetStandardHeLines(), and lines_helium().
|
static |
Definition at line 40 of file prt_lines_helium.cpp.
|
static |
Definition at line 37 of file prt_lines_helium.cpp.
Referenced by GetStandardHeLines(), and lines_helium().
|
static |
Definition at line 35 of file prt_lines_helium.cpp.
Referenced by lines_helium().
|
static |
Definition at line 38 of file prt_lines_helium.cpp.
Referenced by GetStandardHeLines(), and lines_helium().