CoolProp 8.0.0
An open-source fluid property and humid air property database
PhaseEnvelopeRoutines.h
Go to the documentation of this file.
1#ifndef PHASE_ENVELOPE_ROUTINES_H
2#define PHASE_ENVELOPE_ROUTINES_H
3
5
6namespace CoolProp {
7
9{
10 public:
16 static void build(HelmholtzEOSMixtureBackend& HEOS, const std::string& level = "");
17
23 static void refine(HelmholtzEOSMixtureBackend& HEOS, const std::string& level = "");
24
29 static void finalize(HelmholtzEOSMixtureBackend& HEOS);
30
42 static std::vector<std::pair<std::size_t, std::size_t>> find_intersections(const PhaseEnvelopeData& env, parameters iInput, double value);
43
54 static bool is_inside(const PhaseEnvelopeData& env, parameters iInput1, CoolPropDbl value1, parameters iInput2, CoolPropDbl value2,
55 std::size_t& iclosest, SimpleState& closest_state);
56
57 static double evaluate(const PhaseEnvelopeData& env, parameters output, parameters iInput1, double value1, std::size_t& i);
58};
59
60} /* namespace CoolProp */
61
62#endif