diff --git a/Cantera/src/State.h b/Cantera/src/State.h index d41eb814f..c225bef92 100755 --- a/Cantera/src/State.h +++ b/Cantera/src/State.h @@ -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); }