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

Function get_scheme_index

src/DataStructures.cpp:486–493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484}
485
486schemes get_scheme_index(const std::string& scheme_name) {
487 schemes iScheme;
488 if (is_valid_scheme(scheme_name, iScheme)) {
489 return iScheme;
490 } else {
491 throw ValueError(format("Your input name [%s] is not valid in get_scheme_index (names are case sensitive)", scheme_name.c_str()));
492 }
493}
494
495parameters get_parameter_index(const std::string& param_name) {
496 parameters iOutput;

Callers 1

set_assoc_matrixMethod · 0.85

Calls 2

is_valid_schemeFunction · 0.85
formatFunction · 0.70

Tested by

no test coverage detected