solaris10 update
Changed getActivities to be a const function, as per the convention of the other functions in ThermoPhase.
This commit is contained in:
parent
0c6537e767
commit
3ea09e6206
2 changed files with 2 additions and 2 deletions
|
|
@ -103,7 +103,7 @@ namespace Cantera {
|
|||
return cAC_CONVENTION_MOLAR;
|
||||
}
|
||||
|
||||
void ThermoPhase::getActivities(doublereal* a) {
|
||||
void ThermoPhase::getActivities(doublereal* a) const {
|
||||
getActivityConcentrations(a);
|
||||
int nsp = nSpecies();
|
||||
int k;
|
||||
|
|
|
|||
|
|
@ -542,7 +542,7 @@ namespace Cantera {
|
|||
*
|
||||
* @param a Output vector of activities. Length: m_kk.
|
||||
*/
|
||||
virtual void getActivities(doublereal* a);
|
||||
virtual void getActivities(doublereal* a) const;
|
||||
|
||||
//! Get the array of non-dimensional molar-based activity coefficients at
|
||||
//! the current solution temperature, pressure, and solution concentration.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue