| 2813 | } |
| 2814 | |
| 2815 | void 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 |
no test coverage detected