Added 3 missing member functions. Note, this class is still not
complete; it's missing the ref functions.
This commit is contained in:
parent
18bbff355a
commit
c98c60138a
1 changed files with 30 additions and 0 deletions
|
|
@ -2,6 +2,8 @@
|
|||
*
|
||||
* @file StoichSubstance.h
|
||||
*
|
||||
* This file contains the class declarations for the StoichSubstance
|
||||
* ThermoPhase class.
|
||||
*/
|
||||
|
||||
/* $Author$
|
||||
|
|
@ -291,6 +293,34 @@ namespace Cantera {
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get the array of nondimensional Enthalpy functions for the
|
||||
* standard state species
|
||||
* at the current <I>T</I> and <I>P</I> of the solution.
|
||||
*/
|
||||
virtual void getEntropy_R(doublereal* sr) const {
|
||||
sr[0] = entropy_mole() / GasConstant;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the nondimensional Gibbs functions for the species
|
||||
* at their standard states of solution at the current T and P
|
||||
* of the solution.
|
||||
*/
|
||||
virtual void getGibbs_RT(doublereal* grt) const {
|
||||
grt[0] = gibbs_mole() / (GasConstant * temperature());
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the nondimensional Heat Capacities at constant
|
||||
* pressure for the standard state of the species
|
||||
* at the current T and P.
|
||||
*/
|
||||
virtual void getCp_R(doublereal* cpr) const {
|
||||
cpr[0] = cp_mole() / GasConstant;
|
||||
}
|
||||
|
||||
|
||||
//@}
|
||||
/// @name Thermodynamic Values for the Species Reference States --------------------
|
||||
//@{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue