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

Function HAProps

src/CoolPropLib.cpp:462–473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

460 *output = HAPropsSI(Output, Name1, *Prop1, Name2, *Prop2, Name3, *Prop3);
461}
462EXPORT_CODE double CONVENTION HAProps(const char* Output, const char* Name1, double Prop1, const char* Name2, double Prop2, const char* Name3,
463 double Prop3) {
464 fpu_reset_guard guard;
465 try {
466 return HumidAir::HAProps(std::string(Output), std::string(Name1), Prop1, std::string(Name2), Prop2, std::string(Name3), Prop3);
467 } catch (std::exception& e) {
468 CoolProp::set_error_string(e.what());
469 } catch (...) {
470 CoolProp::set_error_string("Undefined error");
471 }
472 return _HUGE;
473}
474EXPORT_CODE void CONVENTION haprops_(const char* Output, const char* Name1, const double* Prop1, const char* Name2, const double* Prop2,
475 const char* Name3, const double* Prop3, double* output) {
476 *output = HAProps(Output, Name1, *Prop1, Name2, *Prop2, Name3, *Prop3);

Callers 1

haprops_Function · 0.70

Calls 3

set_error_stringFunction · 0.85
whatMethod · 0.80
stringClass · 0.50

Tested by

no test coverage detected