Skip to content
Snippets Groups Projects
Commit 4568dee1 authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Use dimworld where appropriate

parent cbbb7a5e
No related branches found
No related tags found
No related merge requests found
......@@ -444,7 +444,7 @@ void measureAnalyticalEOC(const GridView gridView,
/////////////////////////////////////////////////////////////////
// Read reference solution and its derivative into a PythonFunction
typedef VirtualDifferentiableFunction<FieldVector<double, dim>, typename TargetSpace::CoordinateType> FBase;
typedef VirtualDifferentiableFunction<FieldVector<double, dimworld>, typename TargetSpace::CoordinateType> FBase;
Python::Module module = Python::import(parameterSet.get<std::string>("referenceSolution"));
auto referenceSolution = module.get("fdf").toC<std::shared_ptr<FBase>>();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment