forward.hh 2.61 KB
Newer Older
Praetorius, Simon's avatar
Praetorius, Simon committed
1
2
3
4
5
6
#pragma once

namespace Dune
{
  // forward declaration of all classes in dune-vtk

7
  template <class GridView, class Derived, class Partition = Partitions::InteriorBorder>
Praetorius, Simon's avatar
Praetorius, Simon committed
8
9
10
  class DataCollectorInterface;

  // @{ datacollectors
11
  template <class GridView, class Derived, class Partition = Partitions::InteriorBorder>
Praetorius, Simon's avatar
Praetorius, Simon committed
12
13
14
  class UnstructuredDataCollectorInterface;

  // @{ unstructured-datacollectors
15
  template <class GridView, class Partition = Partitions::InteriorBorder>
Praetorius, Simon's avatar
Praetorius, Simon committed
16
17
  class ContinuousDataCollector;

18
  template <class GridView, class Partition = Partitions::InteriorBorder>
Praetorius, Simon's avatar
Praetorius, Simon committed
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
  class DiscontinuousDataCollector;

  template <class GridView>
  class QuadraticDataCollector;
  // @} unstructured-datacollectors

  template <class GridView, class Derived>
  class StructuredDataCollectorInterface;

  namespace Impl
  {
    // Should be specialized for concrete structured grid
    template <class GridView, class Grid>
    struct StructuredDataCollectorImpl;
  }

  template <class GridView>
  using StructuredDataCollector = typename Impl::StructuredDataCollectorImpl<GridView, typename GridView::Grid>::type;

  // @{ structured-datacollectors
  template <class GridView>
  class SPDataCollector;

  template <class GridView>
  class YaspDataCollector;
  // @} structured-datacollectors

  // @} datacollectors

  template <class Grid, class Derived>
  class GridCreatorInterface;

  template <class GridCreator, class Derived>
  struct DerivedGridCreator;

  // @{ gridcreators
  template <class Grid>
  struct ContinuousGridCreator;

  template <class Grid>
  struct DiscontinuousGridCreator;

  template <class Grid>
  struct ParallelGridCreator;

  template <class Grid>
  struct SerialGridCreator;
  // @} gridcreators


  template <class Grid, class FilerReaderImp>
  class FileReader;

  template <class Grid, class GridCreator = ContinuousGridCreator<Grid>>
  class VtkReader;


  class FileWriter;

  // @{ filewriters
  template <class VtkWriter>
  class PvdWriter;

  template <class VtkWriter>
  class VtkTimeseriesWriter;

  template <class GridView, class DataCollector>
  class VtkWriterInterface;

  // @{ vtkwriters
  template <class GridView, class DataCollector = StructuredDataCollector<GridView>>
  class VtkImageDataWriter;

  template <class GridView, class DataCollector = StructuredDataCollector<GridView>>
  class VtkRectilinearGridWriter;

  template <class GridView, class DataCollector = StructuredDataCollector<GridView>>
  class VtkStructuredGridWriter;

  template <class GridView, class DataCollector = ContinuousDataCollector<GridView>>
  class VtkUnstructuredGridWriter;
  // @} vtkwriters

  // @} filewriters

} // end namespace Dune