dune-vtk 2.12
Loading...
Searching...
No Matches
vtkstructuredgridwriter.hh
Go to the documentation of this file.
1#pragma once
2
3#ifndef DUNE_VTK_DISABLE_DEPRECATION_WARNING
4#warning "File vtkstructuredgridwriter.hh and VtkStructuredGridWriter are deprecated. Use structuredgridwriter.hh and Vtk::StructuredGridWriter instead."
5#endif
6
8
9namespace Dune
10{
11 template <class GridView, class DataCollector = Vtk::StructuredDataCollector<GridView>>
12 class [[deprecated("Use Vtk::StructuredGridWriter instead.")]] VtkStructuredGridWriter
13 : public Vtk::StructuredGridWriter<GridView,DataCollector>
14 {
16 public:
17 using Base::Base;
18 };
19
20#pragma GCC diagnostic push
21#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
22 // deduction guides
23 template <class GridView, class... Args,
27
28 template <class DataCollector, class... Args,
30 VtkStructuredGridWriter(DataCollector&, Args...)
32
33 template <class DataCollector, class... Args,
37#pragma GCC diagnostic pop
38
39} // end namespace Dune
decltype((std::declval< GV >().grid(), std::declval< GV >().indexSet(), std::declval< GV >().size(0), std::declval< GV >().size(std::declval< Dune::GeometryType >()), CheckTypes< typename GV::Grid, typename GV::IndexSet >{}, true)) IsGridView
Definition concepts.hh:25
decltype((std::declval< DC & >().update(), std::declval< DC >().numPoints(), std::declval< DC >().numCells(), CheckTypes< typename DC::GridView >{}, true)) IsDataCollector
Definition concepts.hh:16
File-Writer for StructuredGrid VTK .vts files.
Definition structuredgridwriter.hh:23
Definition vtkstructuredgridwriter.hh:14