MCPcopy Create free account
hub / github.com/CoolProp/CoolProp / CONVENTION get_input_pair_index

Function CONVENTION get_input_pair_index

src/CoolPropLib.cpp:347–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345 return -1;
346}
347EXPORT_CODE long CONVENTION get_input_pair_index(const char* pair) {
348 try {
349 return CoolProp::get_input_pair_index(pair);
350 } catch (std::exception& e) {
351 CoolProp::set_error_string(e.what());
352 } catch (...) {
353 CoolProp::set_error_string("Undefined error");
354 }
355 return -1;
356}
357EXPORT_CODE long CONVENTION get_global_param_string(const char* param, char* Output, int n) {
358 try {
359 std::string s = CoolProp::get_global_param_string(param);

Callers

nothing calls this directly

Calls 3

get_input_pair_indexFunction · 0.85
set_error_stringFunction · 0.85
whatMethod · 0.80

Tested by

no test coverage detected