cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
generic_state.cpp File Reference
#include "cddefines.h"
#include "generic_state.h"
#include "dynamics.h"
#include "mole.h"
#include "phycon.h"
#include "radius.h"
#include "rfield.h"
#include "species.h"
Include dependency graph for generic_state.cpp:

Go to the source code of this file.

Functions

double column (const genericState &gs)
 
double density (const genericState &gs)
 
double depart (const genericState &gs)
 
double energy (const genericState &gs)
 
double levels (const genericState &gs)
 
const molezonegetLevelsGeneric (const char *chLabel, bool lgValidate, vector< long > &LevelList)
 
vector< genericStatematchGeneric (const char *chLabel, bool lgValidate)
 

Variables

static const long IGNORE_LEVEL = -1
 

Function Documentation

double column ( const genericState gs)
double density ( const genericState gs)
double depart ( const genericState gs)

Definition at line 38 of file generic_state.cpp.

References qStateConstProxy::associated(), qStateConstProxy::DepartCoef(), genericState::q, genericState::sp, and genericState::val.

Referenced by dBase_solve(), and SaveSpecies().

Here is the call graph for this function:

double energy ( const genericState gs)
const molezone* getLevelsGeneric ( const char *  chLabel,
bool  lgValidate,
vector< long > &  LevelList 
)

getLevelsGeneric – get the requested species levels

Parameters
chLabel(in) species label
lgValidate(in) flag to report errors in the level request
LevelList(out) list of species levels

Definition at line 103 of file generic_state.cpp.

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, findspecieslocal(), fprintf(), IGNORE_LEVEL, ioQQQ, molezone::levels, NCHLAB, null_molezone, and qList::size().

Referenced by lgCheckMonitors(), matchGeneric(), and t_prt_matrix::resolveLevels().

Here is the call graph for this function:

double levels ( const genericState gs)

Definition at line 60 of file generic_state.cpp.

References molezone::levels, qList::size(), genericState::sp, and genericState::val.

Referenced by diatomics::H2_ReadEnergies(), ParseElement(), and SaveSpecies().

Here is the call graph for this function:

vector<genericState> matchGeneric ( const char *  chLabel,
bool  lgValidate 
)

matchGeneric – get a list of all species that match request

Parameters
chLabel(in) species label
lgValidate(in) flag to report errors in the level request
Returns
(out) list of genericState species

Definition at line 224 of file generic_state.cpp.

References DEBUG_ENTRY, t_radius::depth_mid_zone, dynamics, t_rfield::extin_mag_V_extended, t_rfield::extin_mag_V_point, getLevelsGeneric(), IGNORE_LEVEL, molezone::levels, t_mole_global::list, mole, mole_global, null_molezone, phycon, radius, rfield, t_mole_local::species, t_phycon::te, and t_dynamics::time_elapsed.

Referenced by cdColm(), getSpecies(), PrtColumns(), SaveDo(), and SaveSpecies().

Here is the call graph for this function:

Variable Documentation

const long IGNORE_LEVEL = -1
static

Definition at line 102 of file generic_state.cpp.

Referenced by getLevelsGeneric(), and matchGeneric().