[Common] Remove precision argument in VTKInfo for backwards compatibility

parent 133f0479
......@@ -87,8 +87,7 @@ public:
const int dim = GF::Traits::dimDomain;
auto vtk_type = (vtk_ncomps == dim) ? VTK::FieldInfo::Type::vector
: VTK::FieldInfo::Type::scalar;
auto vtk_pc = Dune::VTK::Precision::float32;
auto vtk_info = VTK::FieldInfo(name,vtk_type,vtk_ncomps,vtk_pc);
auto vtk_info = VTK::FieldInfo(name,vtk_type,vtk_ncomps);
this->vtkWriter()->addVertexData(vtk_gf,vtk_info);
}
......@@ -113,8 +112,7 @@ public:
const int dim = GF::Traits::dimDomain;
auto vtk_type = (vtk_ncomps == dim) ? VTK::FieldInfo::Type::vector
: VTK::FieldInfo::Type::scalar;
auto vtk_pc = Dune::VTK::Precision::float32;
auto vtk_info = VTK::FieldInfo(name,vtk_type,vtk_ncomps,vtk_pc);
auto vtk_info = VTK::FieldInfo(name,vtk_type,vtk_ncomps);
this->vtkWriter()->addCellData(vtk_gf,vtk_info);
}
......
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