mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-02-13 07:15:14 -05:00
Added the ability to set/unset the phase for the abstract state class
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -56,6 +56,8 @@ public:
|
||||
bool has_melting_line(){ return is_pure_or_pseudopure && components[0]->ancillaries.melting_line.enabled();};
|
||||
long double calc_melting_line(int param, int given, long double value);
|
||||
phases calc_phase(void){return _phase;};
|
||||
void calc_specify_phase(phases phase){ specify_phase(phase); }
|
||||
void calc_unspecify_phase(){ unspecify_phase(); }
|
||||
long double calc_saturation_ancillary(parameters param, int Q, parameters given, double value);
|
||||
|
||||
const CoolProp::SimpleState &calc_state(const std::string &state);
|
||||
|
||||
Reference in New Issue
Block a user