cloudy trunk
Loading...
Searching...
No Matches
t_mole_local Class Reference

#include <mole.h>

Collaboration diagram for t_mole_local:

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()

◆ 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(), mole_reaction::index, molecule::index, molecule::isMonatomic(), molecule::nAtom, mole_reaction::nproducts, mole_reaction::nreactants, null_mole, mole_reaction::products, mole_priv::reactab, mole_reaction::reactants, reaction_rks, and species.

Here is the call graph for this function:

◆ findrate()

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

Definition at line 3900 of file mole_reactions.cpp.

References DEBUG_ENTRY, mole_reaction::index, molecule::index, mole_findrate_s(), mole_reaction::nreactants, mole_reaction::reactants, reaction_rks, and species.

Here is the call graph for this function:

◆ 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.

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, species, and unresolved_atom_list.

◆ set_location()

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

Definition at line 1018 of file mole_species.cpp.

References ASSERT, DEBUG_ENTRY, LIMELM, mole_global, species, and unresolved_atom_list.

◆ 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 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 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.

◆ grain_area

double t_mole_local::grain_area

Definition at line 387 of file mole.h.

◆ grain_density

double t_mole_local::grain_density

Definition at line 387 of file mole.h.

◆ grain_saturation

double t_mole_local::grain_saturation

Definition at line 387 of file mole.h.

◆ old_reaction_rks

vector<double> t_mole_local::old_reaction_rks

Definition at line 401 of file mole.h.

◆ old_zone

long t_mole_local::old_zone

Definition at line 402 of file mole.h.

◆ reaction_rks

vector<double> t_mole_local::reaction_rks

Definition at line 400 of file mole.h.

Referenced by chem_heat(), dissoc_rate(), findrate(), and findrk().

◆ sink

double ** t_mole_local::sink

Definition at line 394 of file mole.h.

◆ 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.

◆ species

valarray<class molezone> t_mole_local::species

◆ xMoleChTrRate

realnum*** t_mole_local::xMoleChTrRate

Definition at line 396 of file mole.h.


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