Added one more routine, needed to get at private data

This commit is contained in:
Harry Moffat 2003-08-01 20:50:23 +00:00
parent fda7b38460
commit e160e01754

View file

@ -199,8 +199,18 @@ namespace Cantera {
/// set the concentrations to the specified values
void setConcentrations(const doublereal* c);
/**
* Returns a pointer to the start of the massFraction array
*/
const doublereal* massFractions() const { return m_y.begin(); }
/**
* Returns a pointer to the start of the moleFraction/MW array.
* This array is the array of mole fractions, each divided by
* the mean molecular weight.
*/
const doublereal* moleFractdivMMW() const { return m_ym.begin();}
bool ready() const { return (m_kk > 0); }