CoolProp 6.8.1dev
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:
15 static void build(HelmholtzEOSMixtureBackend& HEOS, const std::string& level = "");
16
21 static void refine(HelmholtzEOSMixtureBackend& HEOS, const std::string& level = "");
22
27 static void finalize(HelmholtzEOSMixtureBackend& HEOS);
28
40 static std::vector<std::pair<std::size_t, std::size_t>> find_intersections(const PhaseEnvelopeData& env, parameters iInput, double value);
41
52 static bool is_inside(const PhaseEnvelopeData& env, parameters iInput1, CoolPropDbl value1, parameters iInput2, CoolPropDbl value2,
53 std::size_t& iclosest, SimpleState& closest_state);
54
55 static double evaluate(const PhaseEnvelopeData& env, parameters output, parameters iInput1, double value1, std::size_t& i);
56};
57
58} /* namespace CoolProp */
59
60#endif