Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mole_solve.cpp File Reference
#include "cddefines.h"
#include "deuterium.h"
#include "ionbal.h"
#include "phycon.h"
#include "hmi.h"
#include "dynamics.h"
#include "conv.h"
#include "trace.h"
#include "grainvar.h"
#include "newton_step.h"
#include "h2.h"
#include "mole_priv.h"
#include "mole.h"
#include "dense.h"
Include dependency graph for mole_solve.cpp:

Macros

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

Enumerations

enum  { PRINTSOL = false }
 

Functions

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)
 

Macro Definition Documentation

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

Referenced by funjac().

#define SMALLABUND   1e-24

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

Enumeration Type Documentation

anonymous enum
Enumerator
PRINTSOL 

Function Documentation

void check_co_ion_converge ( void  )
STATIC void grouped_elems ( const double  bvec[],
double  mole_elems[] 
)
STATIC void mole_eval_dynamic_balance ( long int  num_total,
double *  b,
bool  lgJac,
multi_arr< double, 2 > &  c 
)