cloudy trunk
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
t_mole_local Class Reference

#include <mole.h>

Collaboration diagram for t_mole_local:
Collaboration graph
[legend]

Public Member Functions

void set_location (long nelem, long ion, double *dense)
 
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
 

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 369 of file mole.h.

Member Function Documentation

◆ chem_heat()

double t_mole_local::chem_heat ( void  ) const

◆ dissoc_rate()

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 3999 of file mole_reactions.cpp.

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

Referenced by lines_lv1_li_ne().

Here is the call graph for this function:

◆ findrate()

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

◆ findrk()

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

Definition at line 3886 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(), SaveDo(), and SetDeuteriumIonization().

Here is the call graph for this function:

◆ set_isotope_abundances()

void t_mole_local::set_isotope_abundances ( void  )

Definition at line 989 of file mole_species.cpp.

References DEBUG_ENTRY, and unresolved_atom_list.

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

◆ set_location()

void t_mole_local::set_location ( long  nelem,
long  ion,
double *  dense 
)

◆ sink_rate() [1/2]

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

Definition at line 3946 of file mole_reactions.cpp.

References mole_findrate_s(), and sink_rate().

Here is the call graph for this function:

◆ sink_rate() [2/2]

double t_mole_local::sink_rate ( const molecule *const  sp,
const mole_reaction rate 
) const

◆ sink_rate_tot() [1/2]

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

Definition at line 3922 of file mole_reactions.cpp.

References chSpecies, DEBUG_ENTRY, findspecies(), and sink_rate_tot().

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

Here is the call graph for this function:

◆ sink_rate_tot() [2/2]

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

Definition at line 3931 of file mole_reactions.cpp.

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

Here is the call graph for this function:

◆ source_rate_tot() [1/2]

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

Definition at line 4076 of file mole_reactions.cpp.

References chSpecies, DEBUG_ENTRY, findspecies(), and source_rate_tot().

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

Here is the call graph for this function:

◆ source_rate_tot() [2/2]

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

Field Documentation

◆ elec

double t_mole_local::elec

total charge in molecules

Definition at line 390 of file mole.h.

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

◆ grain_area

double t_mole_local::grain_area

Definition at line 387 of file mole.h.

Referenced by InitSimPostparse(), and mole_update_species_cache().

◆ grain_density

double t_mole_local::grain_density

Definition at line 387 of file mole.h.

Referenced by mole_update_species_cache().

◆ grain_saturation

double t_mole_local::grain_saturation

Definition at line 387 of file mole.h.

Referenced by mole_update_species_cache().

◆ old_reaction_rks

vector<double> t_mole_local::old_reaction_rks

Definition at line 401 of file mole.h.

Referenced by mole_rk_bigchange().

◆ old_zone

long t_mole_local::old_zone

Definition at line 402 of file mole.h.

Referenced by mole_create_react(), and mole_rk_bigchange().

◆ reaction_rks

vector<double> t_mole_local::reaction_rks

◆ sink

double ** t_mole_local::sink

◆ source

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 394 of file mole.h.

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

◆ species

valarray<class molezone> t_mole_local::species

◆ xMoleChTrRate

realnum*** t_mole_local::xMoleChTrRate

Definition at line 396 of file mole.h.

Referenced by fill_array(), iso_level(), IterRestart(), IterStart(), mole_eval_sources(), PrintRates(), and zero().


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