Added error interfaces to ThermoPhase.h for H298MODIFY_CAPABILITY when
it is turned off
This commit is contained in:
parent
3f6b4b71c5
commit
2bfc553cfb
2 changed files with 16 additions and 2 deletions
|
|
@ -22,9 +22,14 @@ using namespace std;
|
|||
namespace Cantera {
|
||||
|
||||
Phase::Phase() :
|
||||
m_kk(-1), m_ndim(3), m_index(-1),
|
||||
Constituents(),
|
||||
State(),
|
||||
m_kk(-1),
|
||||
m_ndim(3),
|
||||
m_index(-1),
|
||||
m_xml(new XML_Node("phase")),
|
||||
m_id("<phase>"), m_name("")
|
||||
m_id("<phase>"),
|
||||
m_name("")
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -786,7 +786,16 @@ namespace Cantera {
|
|||
virtual void modifyOneHf298SS(const int k, const doublereal Hf298New) {
|
||||
m_spthermo->modifyOneHf298(k, Hf298New);
|
||||
}
|
||||
#else
|
||||
doublereal Hf298SS(const int k) const {
|
||||
return err("Hf298SS - H298MODIFY_CAPABILITY not compiled in");
|
||||
}
|
||||
|
||||
virtual void modifyOneHf298SS(const int k, const doublereal Hf298New) {
|
||||
return err("Hf298SS - H298MODIFY_CAPABILITY not compiled in");
|
||||
}
|
||||
#endif
|
||||
|
||||
//! Maximum temperature for which the thermodynamic data for the species
|
||||
//! are valid.
|
||||
/*!
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue