mole.h File Reference

Go to the source code of this file.

Data Structures

struct  t_co
struct  t_mole
struct  molecule

Enumerations

enum  { CHARS_SPECIES = 7 }

Functions

void CO_drive (void)
void CO_zero (void)
void CO_create_react (void)
void CO_Init (void)
void CO_update_rks (void)
void CO_update_species_cache (void)
double CO_sink_rate (const char species[])
double CO_source_rate (const char species[])
double CO_dissoc_rate (const char species[])
struct COmole_rate_sCO_findrate_s (const char buf[])
double CO_findrk (const char buf[])
double CO_findrate (const char buf[])
struct moleculefindspecies (const char buf[])
void CO_punch_mol (FILE *punit, const char species[], char header[], double depth)

Variables

EXTERN struct t_co co
EXTERN struct t_mole mole
EXTERN struct molecule ** COmole


Enumeration Type Documentation

anonymous enum

Enumerator:
CHARS_SPECIES 

Definition at line 486 of file mole.h.


Function Documentation

void CO_create_react ( void   ) 

double CO_dissoc_rate ( const char  species[]  ) 

Referenced by CO_solve().

void CO_drive ( void   ) 

double CO_findrate ( const char  buf[]  ) 

Definition at line 571 of file mole_co_etc.cpp.

References CO_findrate_s(), DEBUG_ENTRY, DEBUG_EXIT, molecule::hevmol, COmole_rate_s::nrates, COmole_rate_s::rate_species, and COmole_rate_s::rk.

Referenced by CO_solve(), CoolOxyg(), and lines_lv1_li_ne().

Here is the call graph for this function:

struct COmole_rate_s* CO_findrate_s ( const char  buf[]  )  [read]

Definition at line 538 of file mole_co_etc.cpp.

References DEBUG_ENTRY, DEBUG_EXIT, lookup(), mole_priv, data_u::p, and mole_priv_s::reactab.

Referenced by CO_drive(), CO_findrate(), and CO_findrk().

Here is the call graph for this function:

double CO_findrk ( const char  buf[]  ) 

Definition at line 553 of file mole_co_etc.cpp.

References ASSERT, CO_findrate_s(), DEBUG_ENTRY, DEBUG_EXIT, isnan, and COmole_rate_s::rk.

Referenced by hmole_step(), IonIron(), IonMagne(), and PunchDo().

Here is the call graph for this function:

void CO_Init ( void   ) 

void CO_punch_mol ( FILE *  punit,
const char  species[],
char  header[],
double  depth 
)

double CO_sink_rate ( const char  species[]  ) 

Referenced by iso_ionize_recombine().

double CO_source_rate ( const char  species[]  ) 

void CO_update_rks ( void   ) 

CO_update_rks update rate coefficients, only temp part

Definition at line 680 of file mole_co_etc.cpp.

References COmole_rate_s::a, coreactions, DEBUG_ENTRY, DEBUG_EXIT, COmole_rate_s::fun, t_coreactions::list, t_coreactions::n, and COmole_rate_s::rk.

Referenced by CO_drive(), and ConvBase().

void CO_update_species_cache ( void   ) 

void CO_zero ( void   ) 

CO_zero allocate + initialize workspace

Definition at line 853 of file mole_co_etc.cpp.

References t_timesc::AgeCOMoleDest, cdEXIT(), COmole, DEBUG_ENTRY, DEBUG_EXIT, molecule::hevcol, molecule::hevmol, ioQQQ, lgFirstCall, MALLOC, mole, t_mole::num_comole_calc, t_mole::num_comole_tot, timesc, and molecule::xMoleFracMax.

Referenced by cloudy(), and CO_drive().

Here is the call graph for this function:

struct molecule* findspecies ( const char  buf[]  )  [read]


Variable Documentation

EXTERN struct t_co co

EXTERN struct molecule ** COmole

EXTERN struct t_mole mole


Generated for cloudy by doxygen 1.5.5