CoolProp
6.6.1dev
An open-source fluid property and humid air property database
src
Backends
Helmholtz
PhaseEnvelopeRoutines.h
Go to the documentation of this file.
1
#ifndef PHASE_ENVELOPE_ROUTINES_H
2
#define PHASE_ENVELOPE_ROUTINES_H
3
4
#include "
HelmholtzEOSMixtureBackend.h
"
5
6
namespace
CoolProp
{
7
8
class
PhaseEnvelopeRoutines
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
Generated on Fri Oct 4 2024 09:06:32 for CoolProp by
1.9.1