Solaris10 updates
Changed some definitions to conform to const/nonconst conventions.
This commit is contained in:
parent
0cc5eb47c4
commit
00ff2209b2
2 changed files with 10 additions and 10 deletions
|
|
@ -351,7 +351,7 @@ namespace Cantera {
|
|||
*
|
||||
* Sets the mole fractions and adjusts the internal density.
|
||||
*/
|
||||
void IdealSolidSolnPhase::setMoleFractions(doublereal *x) {
|
||||
void IdealSolidSolnPhase::setMoleFractions(const doublereal *x) {
|
||||
State::setMoleFractions(x);
|
||||
calcDensity();
|
||||
}
|
||||
|
|
@ -361,7 +361,7 @@ namespace Cantera {
|
|||
*
|
||||
* Sets the mole fractions and adjusts the internal density.
|
||||
*/
|
||||
void IdealSolidSolnPhase::setMoleFractions_NoNorm(doublereal *x) {
|
||||
void IdealSolidSolnPhase::setMoleFractions_NoNorm(const doublereal *x) {
|
||||
State::setMoleFractions(x);
|
||||
calcDensity();
|
||||
}
|
||||
|
|
@ -371,7 +371,7 @@ namespace Cantera {
|
|||
*
|
||||
* Sets the mass fractions and adjusts the internal density.
|
||||
*/
|
||||
void IdealSolidSolnPhase::setMassFractions(doublereal *y) {
|
||||
void IdealSolidSolnPhase::setMassFractions(const doublereal *y) {
|
||||
State::setMassFractions(y);
|
||||
calcDensity();
|
||||
}
|
||||
|
|
@ -381,7 +381,7 @@ namespace Cantera {
|
|||
*
|
||||
* Sets the mass fractions and adjusts the internal density.
|
||||
*/
|
||||
void IdealSolidSolnPhase::setMassFractions_NoNorm(doublereal *y) {
|
||||
void IdealSolidSolnPhase::setMassFractions_NoNorm(const doublereal *y) {
|
||||
State::setMassFractions_NoNorm(y);
|
||||
calcDensity();
|
||||
}
|
||||
|
|
@ -391,7 +391,7 @@ namespace Cantera {
|
|||
*
|
||||
* Sets the concentrations and adjusts the internal density
|
||||
*/
|
||||
void IdealSolidSolnPhase::setConcentrations(doublereal *c) {
|
||||
void IdealSolidSolnPhase::setConcentrations(const doublereal *c) {
|
||||
State::setConcentrations(c);
|
||||
calcDensity();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -356,35 +356,35 @@ namespace Cantera {
|
|||
* @param x Input vector of mole fractions.
|
||||
* Length: m_kk.
|
||||
*/
|
||||
virtual void setMoleFractions(doublereal *x);
|
||||
virtual void setMoleFractions(const doublereal *x);
|
||||
|
||||
//! Set the mole fractions, but don't normalize them to one.
|
||||
/*!
|
||||
* @param x Input vector of mole fractions.
|
||||
* Length: m_kk.
|
||||
*/
|
||||
virtual void setMoleFractions_NoNorm(doublereal *x);
|
||||
virtual void setMoleFractions_NoNorm(const doublereal *x);
|
||||
|
||||
//! Set the mass fractions, and normalize them to one.
|
||||
/*!
|
||||
* @param y Input vector of mass fractions.
|
||||
* Length: m_kk.
|
||||
*/
|
||||
virtual void setMassFractions(doublereal *y);
|
||||
virtual void setMassFractions(const doublereal *y);
|
||||
|
||||
//! Set the mass fractions, but don't normalize them to one
|
||||
/*!
|
||||
* @param y Input vector of mass fractions.
|
||||
* Length: m_kk.
|
||||
*/
|
||||
virtual void setMassFractions_NoNorm(doublereal *y);
|
||||
virtual void setMassFractions_NoNorm(const doublereal *y);
|
||||
|
||||
//! Set the concentration,
|
||||
/*!
|
||||
* @param c Input vector of concentrations.
|
||||
* Length: m_kk.
|
||||
*/
|
||||
virtual void setConcentrations(doublereal *c);
|
||||
virtual void setConcentrations(const doublereal *c);
|
||||
|
||||
|
||||
//@}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue