dune-vtk 2.12
Loading...
Searching...
No Matches
vtkstructuredgridwriter.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file AUTHORS.md
2// SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception OR LGPL-3.0-or-later
3#pragma once
4
5#ifndef DUNE_VTK_DISABLE_DEPRECATION_WARNING
6#warning "File vtkstructuredgridwriter.hh and VtkStructuredGridWriter are deprecated. Use structuredgridwriter.hh and Vtk::StructuredGridWriter instead."
7#endif
8
10
11namespace Dune
12{
13 template <class GridView, class DataCollector = Vtk::StructuredDataCollector<GridView>>
14 class [[deprecated("Use Vtk::StructuredGridWriter instead.")]] VtkStructuredGridWriter
15 : public Vtk::StructuredGridWriter<GridView,DataCollector>
16 {
18 public:
19 using Base::Base;
20 };
21
22#pragma GCC diagnostic push
23#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
24 // deduction guides
25 template <class GridView, class... Args,
29
30 template <class DataCollector, class... Args,
32 VtkStructuredGridWriter(DataCollector&, Args...)
34
35 template <class DataCollector, class... Args,
39#pragma GCC diagnostic pop
40
41} // end namespace Dune
Implementation of DataCollector for cells, with continuous data.
Definition celltypedatacollector.hh:20
File-Writer for StructuredGrid VTK .vts files.
Definition structuredgridwriter.hh:25
Definition vtkstructuredgridwriter.hh:16