Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
helike_einsta.cpp File Reference
#include "cddefines.h"
#include "dense.h"
#include "trace.h"
#include "hydro_bauman.h"
#include "iso.h"
#include "helike.h"
#include "helike_einsta.h"
#include "freebound.h"
#include "lines_service.h"
#include "integrate.h"
#include "container_classes.h"
#include "parser.h"
#include "thirdparty.h"
Include dependency graph for helike_einsta.cpp:

Functions

STATIC double helike_transprob_collapsed_to_collapsed (long nelem, long nHi, long nLo)
 
STATIC double helike_transprob_collapsed_to_resolved (long nelem, long nHi, long nLo, long lLo, long sLo, long jLo)
 
STATIC double ritoa (long li, long lf, long nelem, double k, double RI2)
 
STATIC double ForbiddenAuls (long nelem, long nHi, long lHi, long sHi, long jHi, long nLo, long lLo, long sLo, long jLo)
 
STATIC double Jint (double theta)
 
STATIC double AngerJ_mac (double vv, double zz)
 
STATIC double bessjnu (double vv, double zz)
 
STATIC double AngerJ_asymp (double vv, double zz)
 
STATIC double AngerJ (double vv, double zz)
 
STATIC double scqdri (double nstar, long int l, double npstar, long int lp, double iz)
 
double he_1trans (long nelem, double Eff_nupper, long lHi, long sHi, long jHi, double Eff_nlower, long lLo, long sLo, long jLo)
 
realnum helike_transprob (long nelem, long ipHi, long ipLo)
 
void HelikeTransProbSetup ()
 

Variables

static map< QNPair, array< double, LIMELM > > TransProbs
 
static double vJint
 
static double zJint
 

Function Documentation

◆ AngerJ()

STATIC double AngerJ ( double vv,
double zz )

References bessel_jn(), DEBUG_ENTRY, Jint(), max(), nint(), qg32(), STATIC, vJint, and zJint.

Referenced by scqdri().

Here is the call graph for this function:

◆ AngerJ_asymp()

STATIC double AngerJ_asymp ( double vv,
double zz )

References bessjnu(), and STATIC.

Referenced by scqdri().

Here is the call graph for this function:

◆ AngerJ_mac()

STATIC double AngerJ_mac ( double vv,
double zz )

References STATIC.

Referenced by scqdri().

◆ bessjnu()

STATIC double bessjnu ( double vv,
double zz )

References STATIC.

Referenced by AngerJ_asymp().

◆ ForbiddenAuls()

STATIC double ForbiddenAuls ( long nelem,
long nHi,
long lHi,
long sHi,
long jHi,
long nLo,
long lLo,
long sLo,
long jLo )
Todo
2 find a transition probability for this 2^3P0 - 2^3P1 transition. It will require a bit of trickery to insert into the rate matrix, because of the fact that the lower level has a higher index.
See discussion "Energy order within 2 3P" near the top of helike.c
Todo
2 find a transition probability for this 2^3P1 - 2^3P2 transition. It will require a bit of trickery to insert into the rate matrix, because of the fact that the lower level has a higher index.
See discussion "Energy order within 2 3P" near the top of helike.c

References ASSERT, DEBUG_ENTRY, eina(), fixit, helike_energy(), ipARGON, ipHE_LIKE, ipHELIUM, ipNEON, IPRAD, iso_ctrl, iso_put_error(), MIN2, pow(), POW2, pow3, QN2ind(), STATIC, and TotalInsanity().

Referenced by he_1trans().

Here is the call graph for this function:

◆ he_1trans()

double he_1trans ( long nelem,
double Eff_nupper,
long lHi,
long sHi,
long jHi,
double Eff_nlower,
long lLo,
long sLo,
long jLo )

compute energy diffference in wn and Aul for given line return is 0 for success, 1 for failure

Parameters
nelemcharge on the C scale, 1 is helium
Eff_nupperupper quantum numbers
lHi
sHi
jHi
Eff_nlowerlower quantum numbers
lLo
sLo
jLo

References ASSERT, DEBUG_ENTRY, ForbiddenAuls(), fprintf(), H_Einstein_A(), helike_energy(), ioQQQ, ipHE_LIKE, ipHELIUM, ipHYDROGEN, iso_ctrl, iso_sp, MAX2, pow(), pow3, pow4(), powpq(), ritoa(), scqdri(), TotalInsanity(), TransProbs, and Triangle2().

Referenced by helike_transprob(), and helike_transprob_collapsed_to_resolved().

Here is the call graph for this function:

◆ helike_transprob()

realnum helike_transprob ( long nelem,
long ipHi,
long ipLo )

helike_transprob get transition probability for helium-like transition [s-1]

Parameters
nelem
ipHi
ipLo

References ASSERT, DEBUG_ENTRY, he_1trans(), helike_quantum_defect(), helike_transprob_collapsed_to_collapsed(), helike_transprob_collapsed_to_resolved(), ipHE_LIKE, IPRAD, iso_put_error(), and iso_sp.

Referenced by iso_create().

Here is the call graph for this function:

◆ helike_transprob_collapsed_to_collapsed()

STATIC double helike_transprob_collapsed_to_collapsed ( long nelem,
long nHi,
long nLo )

References ASSERT, DEBUG_ENTRY, helike_transprob_collapsed_to_resolved(), and STATIC.

Referenced by helike_transprob().

Here is the call graph for this function:

◆ helike_transprob_collapsed_to_resolved()

STATIC double helike_transprob_collapsed_to_resolved ( long nelem,
long nHi,
long nLo,
long lLo,
long sLo,
long jLo )

References ASSERT, DEBUG_ENTRY, he_1trans(), helike_quantum_defect(), and STATIC.

Referenced by helike_transprob(), and helike_transprob_collapsed_to_collapsed().

Here is the call graph for this function:

◆ HelikeTransProbSetup()

◆ Jint()

STATIC double Jint ( double theta)

References STATIC, vJint, and zJint.

Referenced by AngerJ().

◆ ritoa()

STATIC double ritoa ( long li,
long lf,
long nelem,
double k,
double RI2 )

References DEBUG_ENTRY, dense, max(), and STATIC.

Referenced by he_1trans().

Here is the call graph for this function:

◆ scqdri()

STATIC double scqdri ( double nstar,
long int l,
double npstar,
long int lp,
double iz )

References AngerJ(), AngerJ_asymp(), AngerJ_mac(), ASSERT, DEBUG_ENTRY, and STATIC.

Referenced by he_1trans().

Here is the call graph for this function:

Variable Documentation

◆ TransProbs

map<QNPair, array<double,LIMELM> > TransProbs
static

Referenced by he_1trans(), and HelikeTransProbSetup().

◆ vJint

double vJint
static

Referenced by AngerJ(), and Jint().

◆ zJint

double zJint
static

Referenced by AngerJ(), and Jint().