MCPcopy Create free account
hub / github.com/CoolProp/CoolProp / HAProps

Function HAProps

src/HumidAirProp.cpp:1678–1689  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1676 }
1677}
1678double HAProps(const std::string& OutputName, const std::string& Input1Name, double Input1, const std::string& Input2Name, double Input2,
1679 const std::string& Input3Name, double Input3) {
1680 convert_to_SI(Input1Name, Input1);
1681 convert_to_SI(Input2Name, Input2);
1682 convert_to_SI(Input3Name, Input3);
1683
1684 double out = HAPropsSI(OutputName, Input1Name, Input1, Input2Name, Input2, Input3Name, Input3);
1685
1686 convert_from_SI(OutputName, out);
1687
1688 return out;
1689}
1690long get_input_key(const std::vector<givens>& input_keys, givens key) {
1691 if (input_keys.size() != 2) {
1692 throw CoolProp::ValueError("input_keys is not 2-element vector");

Callers 1

HumidAirProp.cppFile · 0.70

Calls 3

convert_to_SIFunction · 0.85
convert_from_SIFunction · 0.85
HAPropsSIFunction · 0.70

Tested by

no test coverage detected