Commit 3f361ced authored by Andreas Nüßing's avatar Andreas Nüßing

[CutCell] add host cell index to vtk output

parent 178dc60e
......@@ -199,6 +199,8 @@ namespace duneuro
fundamentalGridView_, conductivities_));
vtkWriter.addVertexData(std::make_shared<Dune::UDG::DomainIndexUnfittedVTKGridFunction<
typename Traits::GridView>>(fundamentalGridView_));
vtkWriter.addVertexData(std::make_shared<Dune::UDG::HostCellIndexUnfittedVTKGridFunction<
typename Traits::GridView>>(fundamentalGridView_));
auto modeString = config.get<std::string>("mode", "volume");
if ((modeString == "faces") || (modeString == "boundary")) {
vtkWriter.addVertexData(std::make_shared<Dune::UDG::DomainIndexUnfittedVTKGridFunction<
......@@ -224,6 +226,8 @@ namespace duneuro
fundamentalGridView_, conductivities_));
vtkWriter.addVertexData(std::make_shared<Dune::UDG::DomainIndexUnfittedVTKGridFunction<
typename Traits::GridView>>(fundamentalGridView_));
vtkWriter.addVertexData(std::make_shared<Dune::UDG::HostCellIndexUnfittedVTKGridFunction<
typename Traits::GridView>>(fundamentalGridView_));
auto modeString = config.get<std::string>("mode", "volume");
if ((modeString == "faces") || (modeString == "boundary")) {
vtkWriter.addVertexData(std::make_shared<Dune::UDG::DomainIndexUnfittedVTKGridFunction<
......
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