mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
Mark _allowGasPhase override as not intended for general use
This commit is contained in:
committed by
Ray Speth
parent
f092244bec
commit
85b8f23c35
@@ -247,7 +247,7 @@ public:
|
||||
* member function is to check the thermodynamic consistency of the
|
||||
* underlying WaterProps class with ideal-gas thermo functions.
|
||||
*/
|
||||
void allowGasPhase(bool flag) { m_allowGasPhase = flag; }
|
||||
void _allowGasPhase(bool flag) { m_allowGasPhase = flag; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
|
||||
@@ -22,7 +22,7 @@ int main()
|
||||
double pres;
|
||||
try {
|
||||
ThermoPhase* w = newPhase("liquidvapor.yaml", "liquid-water-IAPWS95");
|
||||
(dynamic_cast<WaterSSTP*>(w))->allowGasPhase(true);
|
||||
(dynamic_cast<WaterSSTP*>(w))->_allowGasPhase(true);
|
||||
|
||||
/*
|
||||
* Print out the triple point conditions
|
||||
|
||||
Reference in New Issue
Block a user