/home66/gary/public_html/cloudy/c13_branch/source/mole_solve.cpp File Reference

#include "cddefines.h"
#include "called.h"
#include "dense.h"
#include "deuterium.h"
#include "ionbal.h"
#include "thermal.h"
#include "phycon.h"
#include "hmi.h"
#include "dynamics.h"
#include "conv.h"
#include "trace.h"
#include "timesc.h"
#include "mole.h"
#include "mole_priv.h"
#include "grainvar.h"
#include "h2.h"
#include "newton_step.h"
Include dependency graph for mole_solve.cpp:

Go to the source code of this file.


#define SMALLABUND   1e-24
#define ABSLIM   1e-12
#define ERRLIM   1e-12
#define MAT(a, I_, J_)   ((a)[(I_)*(mole_global.num_compacted)+(J_)])


enum  { PRINTSOL = false }


void check_co_ion_converge (void)
STATIC void funjac (GroupMap &MoleMap, const valarray< double > &b2vec, double *const ervals, double *const amat, const bool lgJac, bool *lgConserve)
STATIC void mole_h_fixup (void)
STATIC void grouped_elems (const double bvec[], double mole_elems[])
double mole_solve ()
STATIC void mole_eval_dynamic_balance (long int num_total, double *b, bool lgJac, multi_arr< double, 2 > &c)

Define Documentation

#define ABSLIM   1e-12

Definition at line 331 of file mole_solve.cpp.

#define ERRLIM   1e-12

Definition at line 332 of file mole_solve.cpp.

#define MAT ( a,
J_   )     ((a)[(I_)*(mole_global.num_compacted)+(J_)])

Definition at line 336 of file mole_solve.cpp.

#define SMALLABUND   1e-24

Definition at line 47 of file mole_solve.cpp.

Enumeration Type Documentation

anonymous enum

Definition at line 340 of file mole_solve.cpp.

Function Documentation

void check_co_ion_converge ( void   ) 

Definition at line 242 of file mole_solve.cpp.

References conv, DEBUG_ENTRY, dense, findspecieslocal(), t_dense::gas_phase, ipCARBON, ipOXYGEN, t_dense::lgElmtOn, SDIV(), t_conv::setConvIonizFail(), and t_dense::xIonDense.

Referenced by mole_solve().

Here is the call graph for this function:

STATIC void funjac ( GroupMap MoleMap,
const valarray< double > &  b2vec,
double *const   ervals,
double *const   amat,
const bool  lgJac,
bool *  lgConserve 
STATIC void grouped_elems ( const double  bvec[],
double  mole_elems[] 

Definition at line 544 of file mole_solve.cpp.

References atom_list, groupspecies, mole_global, molecule::nAtom, and t_mole_global::num_compacted.

Referenced by funjac(), and GroupMap::setup().

STATIC void mole_eval_dynamic_balance ( long int  num_total,
double *  b,
bool  lgJac,
multi_arr< double, 2 > &  c 
STATIC void mole_h_fixup ( void   ) 
double mole_solve ( void   ) 
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1