Cloudy
Spectral Synthesis Code for Astrophysics
|
#include "cddefines.h"
#include "dense.h"
#include "trace.h"
#include "atmdat.h"
#include "mole_priv.h"
#include "mole.h"
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) |
References DEBUG_ENTRY, fprintf(), ioQQQ, chem_nuclide::ipMl, chem_nuclide::label(), t_mole_global::list, MAX2, mole, mole_global, nuclide_list, t_mole_global::num_calc, t_mole_local::species, and UNLIKELY.
Referenced by mole_eval_balance().
void mole_eval_balance | ( | long int | n, |
double * | b, | ||
bool | lgJac, | ||
multi_arr< double, 2 > & | c | ||
) |
mole_eval_balance
References ASSERT, DEBUG_ENTRY, fprintf(), mole_reaction::index, molecule::index, ioQQQ, mole_reaction::label, lgNucleiConserved(), t_trace::lgTrace, t_trace::lgTraceMole, t_mole_global::list, MAXREACTANTS, mole, mole_global, mole_reaction::nproducts, mole_reaction::nreactants, NULL, t_mole_global::num_calc, mole_reaction::products, mole_reaction::pvector, mole_priv::reactab, mole_reaction::reactants, t_mole_local::reaction_rks, mole_reaction::rvector, t_mole_local::species, trace, and multi_arr< T, d, ALLOC, lgBC >::zero().
Referenced by mole_eval_dynamic_balance().
void mole_eval_sources | ( | long int | num_total | ) |
References ASSERT, atmdat, molecule::charge, DEBUG_ENTRY, dense, mole_reaction::index, molecule::index, t_atmdat::lgCTOn, t_dense::lgElmtOn, LIMELM, MAXREACTANTS, mole, molecule::nNuclide, mole_reaction::nproducts, mole_reaction::nreactants, nuclide_list, NULL, 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, and t_mole_local::xMoleChTrRate.
Referenced by mole_effects(), and mole_update_sources().