#include "cddefines.h"
#include "mole.h"
#include "mole_priv.h"
#include "save.h"
#include "dense.h"
#include "atmdat.h"
Go to the source code of this file.
Functions | |
STATIC bool | lgNucleiConserved (const multi_arr< double, 2 > &c) |
void | mole_eval_balance (long int num_total, double *b, bool lgJac, multi_arr< double, 2 > &c) |
void | mole_eval_sources (long int num_total) |
void | mole_dominant_rates (const molecule *debug_species, FILE *ioOut) |
STATIC bool lgNucleiConserved | ( | const multi_arr< double, 2 > & | c | ) |
Definition at line 239 of file mole_eval_balance.cpp.
References atom_list, DEBUG_ENTRY, chem_atom::ipMl, chem_atom::label(), t_mole_global::list, MAX2, mole, mole_global, t_mole_global::num_calc, t_mole_local::species, and UNLIKELY.
Referenced by mole_eval_balance().
void mole_dominant_rates | ( | const molecule * | debug_species, | |
FILE * | ioOut | |||
) |
Definition at line 308 of file mole_eval_balance.cpp.
References molecule::index, mole_reaction::index, molecule::label, mole_reaction::label, MAXREACTANTS, mole, mole_reaction::nproducts, mole_reaction::nreactants, null_mole, mole_reaction::products, mole_reaction::pvector, mole_priv::reactab, mole_reaction::reactants, t_mole_local::reaction_rks, mole_reaction::rvector, and t_mole_local::species.
Referenced by SaveDo().
void mole_eval_balance | ( | long int | n, | |
double * | b, | |||
bool | lgJac, | |||
multi_arr< double, 2 > & | c | |||
) |
mole_eval_balance
Definition at line 36 of file mole_eval_balance.cpp.
References ASSERT, DEBUG_ENTRY, molecule::index, mole_reaction::index, lgNucleiConserved(), MAXREACTANTS, mole, mole_reaction::nproducts, mole_reaction::nreactants, mole_reaction::products, mole_reaction::pvector, mole_priv::reactab, mole_reaction::reactants, t_mole_local::reaction_rks, mole_reaction::rvector, t_mole_local::species, and multi_arr< T, d, ALLOC, lgBC >::zero().
Referenced by mole_eval_dynamic_balance().
void mole_eval_sources | ( | long int | num_total | ) |
Definition at line 122 of file mole_eval_balance.cpp.
References atmdat, molecule::charge, DEBUG_ENTRY, dense, molecule::index, mole_reaction::index, molecule::isMonatomic(), t_atmdat::lgCTOn, t_dense::lgElmtOn, LIMELM, MAXREACTANTS, mole, molecule::nAtom, mole_reaction::nproducts, mole_reaction::nreactants, mole_reaction::products, mole_reaction::pvector, mole_priv::reactab, mole_reaction::reactants, t_mole_local::reaction_rks, mole_reaction::rvector, t_mole_local::sink, t_mole_local::source, t_mole_local::species, unresolved_atom_list, and t_mole_local::xMoleChTrRate.
Referenced by mole_effects(), and mole_update_sources().