| 583 | } |
| 584 | |
| 585 | input_pairs get_input_pair_index(const std::string& input_pair_name) { |
| 586 | auto& coolprop_information = get_input_pair_information(); |
| 587 | auto it = coolprop_information.index_map.find(input_pair_name); |
| 588 | if (it != coolprop_information.index_map.end()) { |
| 589 | return it->second; |
| 590 | } |
| 591 | throw ValueError(format("Your input name [%s] is not valid in get_input_pair_index (names are case sensitive)", input_pair_name.c_str())); |
| 592 | } |
| 593 | |
| 594 | const std::string& get_input_pair_short_desc(input_pairs pair) { |
| 595 | auto& coolprop_information = get_input_pair_information(); |
no test coverage detected