Commit d3b5a957 authored by dedner's avatar dedner Committed by Praetorius, Simon
Browse files

change _typeName and _includes to cppTypeName and cppIncludes

parent 5bb98b79
......@@ -18,17 +18,17 @@ def load(includes, typeName):
allCollectors = {
"continuous":
lambda grid:
"ContinuousDataCollector<"+grid._typeName+">",
"ContinuousDataCollector<"+grid.cppTypeName+">",
"lagrange":
lambda grid, **kwargs:
"Dune::Vtk::LagrangeDataCollector<"+grid._typeName+","+str(kwargs["order"])+">"
"Dune::Vtk::LagrangeDataCollector<"+grid.cppTypeName+","+str(kwargs["order"])+">"
}
allWriters = {
"default": [ lambda grid:
"Dune::VtkUnstructuredGridWriter<"+grid._typeName+">",
"Dune::VtkUnstructuredGridWriter<"+grid.cppTypeName+">",
["dune/vtk/writers/vtkunstructuredgridwriter.hh"] ],
"lagrange": [ lambda grid, **kwargs:
"Dune::VtkUnstructuredGridWriter<"+grid._typeName+","+\
"Dune::VtkUnstructuredGridWriter<"+grid.cppTypeName+","+\
allCollectors["lagrange"](grid,**kwargs)+">",
["dune/vtk/writers/vtkunstructuredgridwriter.hh",
"dune/vtk/datacollectors/lagrangedatacollector.hh"] ]
......
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