Added csv parameter listing to get_global_parameter

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-07-07 20:08:51 +02:00
parent 6c3cc004de
commit 67d85f72e1
4 changed files with 28 additions and 12 deletions

View File

@@ -748,6 +748,10 @@ std::string get_global_param_string(std::string ParamName)
else if (!ParamName.compare("FluidsList") || !ParamName.compare("fluids_list") || !ParamName.compare("fluidslist")){
return get_fluid_list();
}
else if (!ParamName.compare("parameter_list") )
{
return get_csv_parameter_list();
}
else{
return format("Input value [%s] is invalid",ParamName.c_str()).c_str();
}