Commit 9dbf4f69 authored by Timo Koch's avatar Timo Koch Committed by Martin Schneider
Browse files

[metadata] Rename method to get name of discretisation

parent f29cbeca
Pipeline #5464 waiting for manual action with stages
......@@ -141,7 +141,7 @@ auto collectMetaData(Collector& collector, const GridGeometry& gg, bool hideTemp
obj["Type"] = Metadata::className(gg, hideTemplates);
obj["GridView"]["Type"] = Metadata::className(gg.gridView(), hideTemplates);
obj["IsPeriodic"] = gg.isPeriodic() ? "true" : "false";
obj["DiscretisationMethod"] = discretizationMethodToString(GridGeometry::discMethod);
obj["DiscretisationMethod"] = toString(GridGeometry::discMethod);
obj["MaxElementStencilSize"] = GridGeometry::maxElementStencilSize;
obj["NumScvs"] = gg.numScv();
obj["NumScvfs"] = gg.numScvf();
......
......@@ -42,7 +42,7 @@ namespace Dumux {
* \brief The name of the discretization method
* \ingroup Discretization
*/
std::string discretizationMethodToString(DiscretizationMethod discMethod)
std::string toString(DiscretizationMethod discMethod)
{
switch (discMethod)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment