mirror of
https://github.com/Cantera/cantera.git
synced 2026-08-17 16:35:17 -05:00
[thermo] Implement allowGasPhase override for WaterSSTP
This commit is contained in:
committed by
Ray Speth
parent
7783e31447
commit
f3e2a940fb
@@ -1,4 +1,5 @@
|
||||
#include "cantera/thermo/ThermoFactory.h"
|
||||
#include "cantera/thermo/WaterSSTP.h"
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
@@ -21,6 +22,7 @@ int main()
|
||||
double pres;
|
||||
try {
|
||||
ThermoPhase* w = newPhase("liquid-water.xml");
|
||||
(dynamic_cast<WaterSSTP*>(w))->allowGasPhase(true);
|
||||
|
||||
/*
|
||||
* Print out the triple point conditions
|
||||
|
||||
Reference in New Issue
Block a user