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

#include <mole.h>

Collaboration diagram for t_mole_global:

Public Types

typedef vector< count_ptr< molecule > > MoleculeList

Public Member Functions

void init (void)
void make_species (void)
void zero (void)

Static Public Member Functions

static void sort (MoleculeList::iterator start, MoleculeList::iterator end)
static void sort (molecule **start, molecule **end)

Data Fields

bool lgNoMole
bool lgNoHeavyMole
bool lgH2Ozer
bool lgLeidenHack
bool lgFederman
bool lgStancil
bool lgNonEquilChem
bool lgProtElim
bool lgNeutrals
bool lgGrain_mole_deplete
vector< boollgTreatIsotopes
int num_total
int num_calc
int num_compacted
MoleculeList list

Detailed Description

>>chng 03 feb 09, rm ipH3P_hev, since not used, and decrement NUM_HEAVY_MOLEC to 17 
>>chng 03 aug 04, rm ipCTWO and ipC2P from den since not included in balance,
and always finds zero column density, so NUM_HEAVY_MOLEC from 17 to 15 
>>chng 03 aug 05, rm ch2 and ch3, so n from 15 to 13 
>>chng 03 nov 14  add Si chemistry & CH3+, so that now every
    reaction that is in the TH85 chemical network is also included
    in Cloudy.  Additionally, there are also reactions taken from other
    papers (mostly Hollenbach and McKee...see co.c).  In all 20 molecular
    species are calculated, along with the atomic and first ionization 
        stages of C, O, and Si
>>chng 04 May 13, Nick Abel.  Add CH3, CH4, CH4+, and CH5+ to network in order 
       to get the same chemical abundances vs. depth as other PDR codes in the Leiden
       meeting.  With changes we now can predict molecular abundances for 24 C, O, 
       and Si bearing molecules. 

>>chng 04 jul 13, Nick Abel.  Add nitrogen and sulphur bearing molecules
   to the chemical network.  First added to generate a chemical model for
   eta carinae, but is applicable to all molecular clouds 

>>chng 05 mar 11, Nick Abel.  Add C2 and C2+ to chemistry, reactions 
   involving these species affects the abundance of C

>>chng 05 mar 23, Nick Abel.  Add Chlorine to chemistry 

this includes the atomic and first ionized species of each element that can combine to form molecules.
This is the number of molecules, ions, and atoms that the co network uses This is used in comole to improve the calculation, as deep in molecular regions reactions with molecules can be important to the ionization balance

Definition at line 266 of file mole.h.

Member Typedef Documentation

◆ MoleculeList

Definition at line 316 of file mole.h.

Member Function Documentation

◆ init()

void t_mole_global::init ( void )

Definition at line 11 of file mole.cpp.

References DEBUG_ENTRY, make_species(), mole, mole_global, mole_make_groups(), and mole_make_list().

Here is the call graph for this function:

◆ make_species()

◆ sort() [1/2]

void t_mole_global::sort ( molecule ** start,
molecule ** end )
static

Definition at line 99 of file mole_species.cpp.

References start().

Here is the call graph for this function:

◆ sort() [2/2]

void t_mole_global::sort ( MoleculeList::iterator start,
MoleculeList::iterator end )
static

References start().

Referenced by canonicalize_reaction(), mole_make_list(), and parse_udfa().

Here is the call graph for this function:

◆ zero()

void t_mole_global::zero ( void )

mole_zero allocate + initialize workspace

Definition at line 36 of file mole.cpp.

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, mole, and mole_global.

Field Documentation

◆ lgFederman

bool t_mole_global::lgFederman

Definition at line 288 of file mole.h.

◆ lgGrain_mole_deplete

bool t_mole_global::lgGrain_mole_deplete

do we include capture of molecules onto grain surfaces? default is true, turned off with NO GRAIN MOLECULES command

Definition at line 308 of file mole.h.

◆ lgH2Ozer

bool t_mole_global::lgH2Ozer

flag set true if H2O destruction rate went to zero

Definition at line 283 of file mole.h.

◆ lgLeidenHack

bool t_mole_global::lgLeidenHack

set rates to that in UMIST

Definition at line 286 of file mole.h.

◆ lgNeutrals

bool t_mole_global::lgNeutrals

option to not include neutrals in the non-equilibrium scheme

refer Federman, S. R. & Zsargo, J. 2003, ApJ, 589, 319 By default, this is false - changed with set chemistry command

Definition at line 304 of file mole.h.

◆ lgNoHeavyMole

bool t_mole_global::lgNoHeavyMole

flag to turn off heavy molecules, set with no heavy molecules command

Definition at line 280 of file mole.h.

◆ lgNoMole

bool t_mole_global::lgNoMole

flag to turn off all molecules, set with no molecules command

Definition at line 277 of file mole.h.

◆ lgNonEquilChem

bool t_mole_global::lgNonEquilChem

option to use effective temperature as defined in

refer Federman, S. R. & Zsargo, J. 2003, ApJ, 589, 319 By default, this is false - changed with set chemistry command

Definition at line 294 of file mole.h.

◆ lgProtElim

bool t_mole_global::lgProtElim

option to set proton elimination rates to zero

>refer CO chemistry Huntress, W. T., 1977, ApJS, 33, 495 By default, this is false - changed with set chemistry command

Definition at line 299 of file mole.h.

◆ lgStancil

bool t_mole_global::lgStancil

Definition at line 289 of file mole.h.

◆ lgTreatIsotopes

vector<bool> t_mole_global::lgTreatIsotopes

Definition at line 311 of file mole.h.

Referenced by make_species().

◆ list

MoleculeList t_mole_global::list

Definition at line 317 of file mole.h.

◆ num_calc

int t_mole_global::num_calc

Definition at line 314 of file mole.h.

◆ num_compacted

int t_mole_global::num_compacted

Definition at line 314 of file mole.h.

◆ num_total

int t_mole_global::num_total

flag saying whether an element is in the chemistry network

Definition at line 314 of file mole.h.


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