Added one more routine, needed to get at private data
This commit is contained in:
parent
fda7b38460
commit
e160e01754
1 changed files with 10 additions and 0 deletions
|
|
@ -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); }
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue