solaris10 update

Changed getActivities to be a const function, as per the convention of the other functions
   in ThermoPhase.
This commit is contained in:
Harry Moffat 2007-03-20 21:45:36 +00:00
parent 0c6537e767
commit 3ea09e6206
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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.