Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mole_h2_create.cpp File Reference
#include "cddefines.h"
#include "atmdat.h"
#include "taulines.h"
#include "opacity.h"
#include "hmi.h"
#include "ipoint.h"
#include "grainvar.h"
#include "h2.h"
#include "mole.h"
#include "lines_service.h"
#include "iso.h"
#include "ran.h"
Include dependency graph for mole_h2_create.cpp:

Enumerations

enum  { DEBUG_ENER =false }
 

Functions

STATIC double EH2_eval (int ipH2, double DissocEnergy, double energy_wn)
 
STATIC double H2_vib_dist (int ipH2, double EH2, double DissocEnergy, double energy_wn)
 
STATIC bool lgRadiative (const TransitionList::iterator &tr)
 
STATIC bool compareEmis (const TransitionList::iterator &tr1, const TransitionList::iterator &tr2)
 

Variables

static double XVIB [H2_TOP] = { 0.70 , 0.60 , 0.20 }
 
static double Xdust [H2_TOP] = { 0.04 , 0.10 , 0.40 }
 
static const double energy_off = 0.273*FREQ_1EV/SPEEDLIGHT
 

Enumeration Type Documentation

anonymous enum
Enumerator
DEBUG_ENER 

Function Documentation

STATIC bool compareEmis ( const TransitionList::iterator tr1,
const TransitionList::iterator tr2 
)

References lgRadiative().

Referenced by diatomics::init().

Here is the call graph for this function:

STATIC double EH2_eval ( int  ipH2,
double  DissocEnergy,
double  energy_wn 
)

References ASSERT, energy_off, ipH2, Xdust, and XVIB.

Referenced by diatomics::init().

STATIC double H2_vib_dist ( int  ipH2,
double  EH2,
double  DissocEnergy,
double  energy_wn 
)

References energy_off, H2_TOP, ipH2, POW2, sexp(), and XVIB.

Referenced by diatomics::init().

Here is the call graph for this function:

STATIC bool lgRadiative ( const TransitionList::iterator tr)

Referenced by compareEmis(), and diatomics::init().

Variable Documentation

const double energy_off = 0.273*FREQ_1EV/SPEEDLIGHT
static
double Xdust[H2_TOP] = { 0.04 , 0.10 , 0.40 }
static

Referenced by EH2_eval().

double XVIB[H2_TOP] = { 0.70 , 0.60 , 0.20 }
static

Referenced by EH2_eval(), and H2_vib_dist().