|
Public Member Functions |
|
| Chem (void) |
| | constructor
|
|
virtual | ~Chem () |
| | destructor;
|
Static Public Member Functions |
|
void | parseFormula (char *formula, double *elarray) |
| | parse formula and return results in elememt array
|
|
double | mwt (double *elarray) |
| | given element array, calculate molecular weight
|
|
double | mwt (Stoich *) |
| | given stoichiometry, calculate molecular weight
|
| void | elToOx (double *elarray, double *oxarray) |
| void | oxToEl (double *oxarray, double *elarray) throw (PhaseError *) |
|
void | oxMolToWt (double *oxarray) |
| | converts oxide array in moles to grams
|
|
void | oxWtToMol (double *oxarray) |
| | converts oxide array in grams to moles
|
Static Public Attributes |
|
const int | nele = 106 |
| | number of elements considered in this class plus one (space allocation)
|
|
const EleProp | ele [] |
| | nele array of element properties
|
|
const int | nox = 19 |
| | number of oxides considered in this class
|
|
const OxProp | ox [] |
| | nox array of oxide properties
|
Static Private Member Functions |
|
void | parseFormulaToken (char *token, int len, double mult, double *elarray) throw (PhaseError *) |
| | parses formula token. May be called recursively by public parseFormula()
|