21 #ifndef CT_IDEALMOLALSOLN_H
22 #define CT_IDEALMOLALSOLN_H
246 virtual doublereal
cp_mole()
const;
254 virtual doublereal
cv_mole()
const;
260 * In this equation of state implementation, the density is a
261 * function only of the mole fractions. Therefore, it can't be
262 * an independent variable. Instead, the pressure is used as the
263 * independent variable. Functions which try to set the thermodynamic
264 * state by calling setDensity() may cause an exception to be
346 virtual void setState_TP(doublereal t, doublereal p);
395 err(
"setPotentialEnergy");
406 virtual doublereal potentialEnergy(
int k)
const {
407 return err(
"potentialEnergy");
418 void setElectricPotential(doublereal v) {
501 int sizeUA = 6)
const;
699 err(
"setToEquilState");
721 virtual void getParameters(
int& n, doublereal*
const c)
const;
747 err(
"critTemperature");
999 doublereal
err(std::string msg)
const;