cloudy trunk
Loading...
Searching...
No Matches
mole_h2_create.cpp File Reference
#include "cddefines.h"
#include "collision.h"
#include "physconst.h"
#include "taulines.h"
#include "lines_service.h"
#include "opacity.h"
#include "hmi.h"
#include "ipoint.h"
#include "grainvar.h"
#include "h2.h"
#include "h2_priv.h"
#include "mole.h"
#include "dense.h"
Include dependency graph for mole_h2_create.cpp:

Go to the source code of this file.

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)
bool compareEnergies (qStateProxy st1, qStateProxy st2)

Variables

int H2_nRot_add_ortho_para [N_ELEC] = {0 , 1 , 1 , 0, 1, 1 , 0}
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 

Definition at line 25 of file mole_h2_create.cpp.

Function Documentation

◆ compareEmis()

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

Definition at line 93 of file mole_h2_create.cpp.

References lgRadiative(), and STATIC.

Referenced by diatomics::init().

Here is the call graph for this function:

◆ compareEnergies()

bool compareEnergies ( qStateProxy st1,
qStateProxy st2 )

Definition at line 101 of file mole_h2_create.cpp.

References qStateProxy::energy(), and Energy::Ryd().

Here is the call graph for this function:

◆ EH2_eval()

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

Definition at line 39 of file mole_h2_create.cpp.

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 )

Definition at line 63 of file mole_h2_create.cpp.

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)

Definition at line 82 of file mole_h2_create.cpp.

References STATIC.

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

Variable Documentation

◆ energy_off

const double energy_off = 0.273*FREQ_1EV/SPEEDLIGHT
static

Definition at line 37 of file mole_h2_create.cpp.

Referenced by EH2_eval(), H2_vib_dist(), and diatomics::init().

◆ H2_nRot_add_ortho_para

int H2_nRot_add_ortho_para[N_ELEC] = {0 , 1 , 1 , 0, 1, 1 , 0}

Definition at line 22 of file mole_h2_create.cpp.

Referenced by diatomics::init().

◆ Xdust

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

Definition at line 32 of file mole_h2_create.cpp.

Referenced by EH2_eval().

◆ XVIB

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

Definition at line 31 of file mole_h2_create.cpp.

Referenced by EH2_eval(), and H2_vib_dist().