cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Data Fields
t_mole_local Class Reference

#include <mole.h>

Inheritance diagram for t_mole_local:
Inheritance graph
[legend]
Collaboration diagram for t_mole_local:
Collaboration graph
[legend]

Public Member Functions

void alloc ()
 
void zero ()
 
void comment (t_warnings &)
 
const char * chName () const
 
void set_ion_locations ()
 
void set_isotope_abundances (void)
 
double sink_rate_tot (const char chSpecies[]) const
 
double sink_rate_tot (const molecule *const sp) const
 
double sink_rate (const molecule *const sp, const mole_reaction &rate) const
 
double sink_rate (const molecule *const sp, const char buf[]) const
 
double source_rate_tot (const char chSpecies[]) const
 
double source_rate_tot (const molecule *const sp) const
 
double dissoc_rate (const char chSpecies[]) const
 
double chem_heat (void) const
 
double findrk (const char buf[]) const
 
double findrate (const char buf[]) const
 
- Public Member Functions inherited from module
 module ()
 
virtual ~module ()
 

Data Fields

double grain_area
 
double grain_density
 
double grain_saturation
 
double elec
 
double ** source
 
double ** sink
 
realnum *** xMoleChTrRate
 
valarray< class molezonespecies
 
vector< double > reaction_rks
 
vector< double > old_reaction_rks
 
long old_zone
 

Detailed Description

Definition at line 432 of file mole.h.

Member Function Documentation

void t_mole_local::alloc ( )

Definition at line 91 of file mole.cpp.

References LIMELM, MALLOC, sink, source, and xMoleChTrRate.

Referenced by allocate().

double t_mole_local::chem_heat ( void  ) const
const char* t_mole_local::chName ( ) const
inlinevirtual

Implements module.

Definition at line 438 of file mole.h.

void t_mole_local::comment ( t_warnings )
inlinevirtual

Implements module.

Definition at line 437 of file mole.h.

double t_mole_local::dissoc_rate ( const char  chSpecies[]) const

returns the photodissociation rate per unit volume [cm^-3 s^-1] producing monatomic species chSpecies. Excludes photoionizations of other monatomic species, e.g. N-,PHOTON=>N,e-

returns the photodissociation rate per unit volume [cm^-3 s^-1] of species chSpecies

Definition at line 4243 of file mole_reactions.cpp.

References ASSERT, DEBUG_ENTRY, findspecies(), mole_reaction::index, molecule::index, molecule::isMonatomic(), molecule::nNuclide, mole_reaction::nproducts, mole_reaction::nreactants, null_mole, mole_reaction::products, mole_priv::reactab, mole_reaction::reactants, and reaction_rks.

Referenced by lines().

Here is the call graph for this function:

double t_mole_local::findrate ( const char  buf[]) const
double t_mole_local::findrk ( const char  buf[]) const

Definition at line 4148 of file mole_reactions.cpp.

References ASSERT, DEBUG_ENTRY, mole_reaction::index, isnan, mole_findrate_s(), and reaction_rks.

Referenced by diatomics::mole_H2_form(), and SaveDo().

Here is the call graph for this function:

void t_mole_local::set_ion_locations ( )
void t_mole_local::set_isotope_abundances ( void  )

Definition at line 989 of file mole_species.cpp.

References DEBUG_ENTRY, and nuclide_list.

Referenced by mole_update_species_cache(), and GroupMap::updateMolecules().

double t_mole_local::sink_rate ( const molecule *const  sp,
const mole_reaction rate 
) const
double t_mole_local::sink_rate ( const molecule *const  sp,
const char  buf[] 
) const

Definition at line 4208 of file mole_reactions.cpp.

References mole_findrate_s(), and sink_rate().

Here is the call graph for this function:

double t_mole_local::sink_rate_tot ( const char  chSpecies[]) const

Definition at line 4184 of file mole_reactions.cpp.

References DEBUG_ENTRY, and findspecies().

Referenced by diatomics::H2_X_sink_and_source(), and mole_effects().

Here is the call graph for this function:

double t_mole_local::sink_rate_tot ( const molecule *const  sp) const

Definition at line 4193 of file mole_reactions.cpp.

References DEBUG_ENTRY, mole_priv::reactab, and sink_rate().

Here is the call graph for this function:

double t_mole_local::source_rate_tot ( const char  chSpecies[]) const

Definition at line 4320 of file mole_reactions.cpp.

References DEBUG_ENTRY, and findspecies().

Referenced by diatomics::H2_X_sink_and_source(), and mole_h_rate_diagnostics().

Here is the call graph for this function:

double t_mole_local::source_rate_tot ( const molecule *const  sp) const
void t_mole_local::zero ( void  )
virtual

Implements module.

Definition at line 119 of file mole.cpp.

References LIMELM, t_mole_global::num_calc, old_reaction_rks, reaction_rks, sink, source, and xMoleChTrRate.

Field Documentation

double t_mole_local::elec

total charge in molecules

Definition at line 460 of file mole.h.

Referenced by ConvBase(), eden_sum(), t_mole_global::init(), and mole_return_cached_species().

double t_mole_local::grain_area

Definition at line 457 of file mole.h.

Referenced by InitSimPostparse(), and mole_update_species_cache().

double t_mole_local::grain_density

Definition at line 457 of file mole.h.

Referenced by mole_update_species_cache().

double t_mole_local::grain_saturation

Definition at line 457 of file mole.h.

Referenced by mole_update_species_cache().

vector<double> t_mole_local::old_reaction_rks

Definition at line 471 of file mole.h.

Referenced by mole_rk_bigchange(), and zero().

long t_mole_local::old_zone

Definition at line 472 of file mole.h.

Referenced by mole_create_react(), and mole_rk_bigchange().

vector<double> t_mole_local::reaction_rks
double ** t_mole_local::sink
double** t_mole_local::source

these are source and sink terms for the ionization ladder, for chemical processes that remove and add species

Definition at line 464 of file mole.h.

Referenced by alloc(), fill_ext_src_and_snk(), find_solution(), iso_level(), IterRestart(), IterStart(), mole_eval_sources(), mole_h_rate_diagnostics(), mole_solve(), PrintRates(), and zero().

valarray<class molezone> t_mole_local::species
realnum*** t_mole_local::xMoleChTrRate

The documentation for this class was generated from the following files: