Moved the getActivities and getActivityCoefficients() functions
to the activities member group.
This commit is contained in:
parent
a81572e920
commit
60eb2c2968
1 changed files with 18 additions and 19 deletions
|
|
@ -361,6 +361,24 @@ namespace Cantera {
|
|||
virtual void getUnitsStandardConc(double *uA, int k = 0,
|
||||
int sizeUA = 6);
|
||||
|
||||
/*
|
||||
* Return a vector of activities.
|
||||
*/
|
||||
void getActivities(doublereal* a);
|
||||
|
||||
/**
|
||||
* Get the array of non-dimensional molar-based
|
||||
* activity coefficients at
|
||||
* the current solution temperature, pressure, and
|
||||
* solution concentration.
|
||||
*/
|
||||
virtual void getActivityCoefficients(doublereal* ac) const {
|
||||
if (m_kk == 1) {
|
||||
ac[0] = 1.0;
|
||||
} else {
|
||||
err("getActivityCoefficients");
|
||||
}
|
||||
}
|
||||
|
||||
//@}
|
||||
/// @name Partial Molar Properties of the Solution
|
||||
|
|
@ -400,25 +418,6 @@ namespace Cantera {
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Return a vector of activities.
|
||||
*/
|
||||
void getActivities(doublereal* a);
|
||||
|
||||
/**
|
||||
* Get the array of non-dimensional molar-based
|
||||
* activity coefficients at
|
||||
* the current solution temperature, pressure, and
|
||||
* solution concentration.
|
||||
*/
|
||||
virtual void getActivityCoefficients(doublereal* ac) const {
|
||||
if (m_kk == 1) {
|
||||
ac[0] = 1.0;
|
||||
} else {
|
||||
err("getActivityCoefficients");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the species partial molar enthalpies. Units: J/kmol.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue