version 0.4.1
Ikarus::Vtk::DefaultVTKWriterManager< GV > Struct Template Reference

Manages the default template parameter for the Vtk::Writer More...

#include <ikarus/io/vtkwriter.hh>

Public Types

using DefaultDataCollector = std::conditional_t< isStructured, Dune::Vtk::YaspDataCollector< GV >, Dune::Vtk::ContinuousDataCollector< GV > >
 
template<typename DC = DefaultDataCollector>
using DefaultVTKWriter = std::conditional_t< isStructured, Dune::Vtk::RectilinearGridWriter< typename DC::GridView, DC >, Dune::Vtk::UnstructuredGridWriter< typename DC::GridView, DC > >
 

Static Public Attributes

static constexpr bool isStructured = IsStructured<typename GV::Grid>::value
 

Detailed Description

template<typename GV>
requires Concepts::GridView<GV>
struct Ikarus::Vtk::DefaultVTKWriterManager< GV >
Template Parameters
GVgiven GridView type

Member Typedef Documentation

◆ DefaultDataCollector

template<typename GV >
using Ikarus::Vtk::DefaultVTKWriterManager< GV >::DefaultDataCollector = std::conditional_t<isStructured, Dune::Vtk::YaspDataCollector<GV>, Dune::Vtk::ContinuousDataCollector<GV> >

◆ DefaultVTKWriter

template<typename GV >
template<typename DC = DefaultDataCollector>
using Ikarus::Vtk::DefaultVTKWriterManager< GV >::DefaultVTKWriter = std::conditional_t<isStructured, Dune::Vtk::RectilinearGridWriter<typename DC::GridView, DC>, Dune::Vtk::UnstructuredGridWriter<typename DC::GridView, DC> >

Member Data Documentation

◆ isStructured

template<typename GV >
constexpr bool Ikarus::Vtk::DefaultVTKWriterManager< GV >::isStructured = IsStructured<typename GV::Grid>::value
staticconstexpr

The documentation for this struct was generated from the following file: