mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-25 13:58:02 -05:00
Add ability to retrieve the list of cubic fluids that are loaded
This commit is contained in:
@@ -921,6 +921,9 @@ std::string get_global_param_string(const std::string &ParamName)
|
||||
else if (ParamName == "cubic_fluids_schema"){
|
||||
return CoolProp::CubicLibrary::get_cubic_fluids_schema();
|
||||
}
|
||||
else if (ParamName == "cubic_fluids_list"){
|
||||
return CoolProp::CubicLibrary::get_cubic_fluids_list();
|
||||
}
|
||||
else{
|
||||
throw ValueError(format("Input parameter [%s] is invalid",ParamName.c_str()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user