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

Function REFPROP_SETREF

src/Backends/REFPROP/REFPROPMixtureBackend.cpp:2815–2822  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2813}
2814
2815void REFPROP_SETREF(char* hrf, int ixflag, double* x0, double& h0, double& s0, double& T0, double& p0, int& ierr, char* herr, int l1, int l2) {
2816 std::string err;
2817 bool loaded_REFPROP = ::load_REFPROP(err);
2818 if (!loaded_REFPROP) {
2819 throw ValueError(format("Not able to load REFPROP; err is: %s", err.c_str()));
2820 }
2821 SETREFdll(hrf, &ixflag, x0, &h0, &s0, &T0, &p0, &ierr, herr, l1, l2);
2822}
2823
2824} /* namespace CoolProp */
2825

Callers 1

set_reference_stateSFunction · 0.85

Calls 1

formatFunction · 0.50

Tested by

no test coverage detected