#include <Chem.h>
Public Member Functions | |
| Chem (void) | |
| constructor  | |
| virtual | ~Chem () | 
| destructor;  | |
Static Public Member Functions | |
| static void | parseFormula (char *formula, double *elarray) | 
| parse formula and return results in elememt array  | |
| static double | mwt (double *elarray) | 
| given element array, calculate molecular weight  | |
| static double | mwt (Stoich *) | 
| given stoichiometry, calculate molecular weight  | |
| static void | elToOx (double *elarray, double *oxarray) | 
| static void | oxToEl (double *oxarray, double *elarray) throw (PhaseError *) | 
| static void | oxMolToWt (double *oxarray) | 
| converts oxide array in moles to grams  | |
| static void | oxWtToMol (double *oxarray) | 
| converts oxide array in grams to moles  | |
Static Public Attributes | |
| static const int | nele = 106 | 
| number of elements considered in this class plus one (space allocation)  | |
| static const EleProp | ele [] | 
| nele array of element properties  | |
| static const int | nox = 19 | 
| number of oxides considered in this class  | |
| static const OxProp | ox [] | 
| nox array of oxide properties  | |
Static Private Member Functions | |
| static void | parseFormulaToken (char *token, int len, double mult, double *elarray) throw (PhaseError *) | 
| parses formula token. May be called recursively by public parseFormula()  | |
static class for data and methods associated with chemistry calculations.
Definition at line 49 of file Chem.h.
| static void Chem::elToOx | ( | double * | elarray, | |
| double * | oxarray | |||
| ) |  [static] | 
        
given element array, return oxide abundances
| elarray | elemant abundanced on entry. Contains remainder on exit | |
| oxarray | array of moles of oxides. | 
| static void Chem::oxToEl | ( | double * | oxarray, | |
| double * | elarray | |||
| ) |   throw (PhaseError *) [static] | 
        
given oxide array, return corresponding element array
| oxarray | nox array of oxide moles | |
| elarray | nele array of element moles | 
 1.7.1