Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
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

anonymous enum
Enumerator
DEBUG_ENER 

Function Documentation

◆ compareEmis()

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

References lgRadiative(), and STATIC.

Referenced by diatomics::init().

Here is the call graph for this function:

◆ EH2_eval()

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

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

Referenced by diatomics::init().

◆ H2_vib_dist()

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

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

Referenced by diatomics::init().

Here is the call graph for this function:

◆ lgRadiative()

STATIC bool lgRadiative ( const TransitionList::iterator & tr)

References STATIC.

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

Variable Documentation

◆ energy_off

const double energy_off = 0.273*FREQ_1EV/SPEEDLIGHT
static

◆ Xdust

double Xdust[H2_TOP] = { 0.04 , 0.10 , 0.40 }
static

Referenced by EH2_eval().

◆ XVIB

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

Referenced by EH2_eval(), and H2_vib_dist().