| 211 | return strjoin(strings, ","); |
| 212 | } |
| 213 | bool is_valid_parameter(const std::string& param_name, parameters& iOutput) { |
| 214 | auto& parameter_information = get_parameter_information(); |
| 215 | // Try to find it |
| 216 | auto it = parameter_information.index_map.find(param_name); |
| 217 | // If equal to end, not found |
| 218 | if (it != parameter_information.index_map.end()) { |
| 219 | // Found, return it |
| 220 | iOutput = static_cast<parameters>(it->second); |
| 221 | return true; |
| 222 | } else { |
| 223 | return false; |
| 224 | } |
| 225 | } |
| 226 | |
| 227 | bool is_valid_first_derivative(const std::string& name, parameters& iOf, parameters& iWrt, parameters& iConstant) { |
| 228 | if (get_debug_level() > 5) { |
no test coverage detected