Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

STATIC double AngerJ ( double  vv,
double  zz 
)

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

Referenced by scqdri().

Here is the call graph for this function:

STATIC double AngerJ_asymp ( double  vv,
double  zz 
)

References bessjnu().

Referenced by scqdri().

Here is the call graph for this function:

STATIC double AngerJ_mac ( double  vv,
double  zz 
)

Referenced by scqdri().

STATIC double bessjnu ( double  vv,
double  zz 
)

Referenced by AngerJ_asymp().

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(), t_isoCTRL::SmallA, and TotalInsanity().

Referenced by he_1trans().

Here is the call graph for this function:

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, t_iso_sp::CachedAs, 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(), t_isoCTRL::SmallA, TotalInsanity(), TransProbs, and Triangle2().

Referenced by helike_transprob(), and helike_transprob_collapsed_to_resolved().

Here is the call graph for this function:

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(), iso_sp, and t_iso_sp::st.

Referenced by iso_create().

Here is the call graph for this function:

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

References ASSERT, DEBUG_ENTRY, and helike_transprob_collapsed_to_resolved().

Referenced by helike_transprob().

Here is the call graph for this function:

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(), and helike_quantum_defect().

Referenced by helike_transprob(), and helike_transprob_collapsed_to_collapsed().

Here is the call graph for this function:

STATIC double Jint ( double  theta)

References vJint, and zJint.

Referenced by AngerJ().

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

References t_dense::AtomicWeight, DEBUG_ENTRY, dense, and max().

Referenced by he_1trans().

Here is the call graph for this function:

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

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

Referenced by he_1trans().

Here is the call graph for this function:

Variable Documentation

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

Referenced by he_1trans(), and HelikeTransProbSetup().

double vJint
static

Referenced by AngerJ(), and Jint().

double zJint
static

Referenced by AngerJ(), and Jint().