DUNE-ACFEM (2.5.1)

dataoutput.hh
1#ifndef __DUNE_ACFEM_DATAOUTPUT_HH__
2#define __DUNE_ACFEM_DATAOUTPUT_HH__
3
4// iostream includes
5#include <iostream>
6
7/*********************************************************/
8
9// include parameter handling
10#include <dune/fem/io/parameter.hh>
11
12// include output
13#include <dune/fem/io/file/dataoutput.hh>
14#include <dune/fem/io/file/datawriter.hh>
15
16namespace Dune {
17
18 namespace ACFem {
19
20 // DataOutputParameters
21 // --------------------
22
36 : public Dune::Fem::LocalParameter<Dune::Fem::DataOutputParameters, DataOutputParameters>
37 {
38 public:
39 };
40
41 template<class GridImp, class DataImp>
42 class DataOutput
43 : public Dune::Fem::DataOutput<GridImp, DataImp>
44 {
45 typedef Dune::Fem::DataOutput<GridImp, DataImp> BaseType;
46 public:
47 DataOutput(const typename BaseType::GridType &grid,
48 typename BaseType::OutPutDataType &data,
49 const Dune::Fem::DataOutputParameters &parameter = Dune::Fem::DataOutputParameters())
50 : BaseType(grid, data, parameter)
51 {}
52
53 DataOutput (const typename BaseType::GridType &grid,
54 typename BaseType::OutPutDataType &data,
55 const Dune::Fem::TimeProviderBase &tp,
56 const Dune::Fem::DataOutputParameters &parameter = Dune::Fem::DataOutputParameters())
57 : BaseType(grid, data, tp, parameter)
58 {}
59
60 using BaseType::willWrite;
61 using BaseType::write;
62 using BaseType::writeData;
63 using BaseType::myClassName;
64 using BaseType::path;
65 using BaseType::consistentSaveStep;
66
68 int writeStep() const {
69 return BaseType::writeStep_;
70 }
71
72
73 };
74
76
77 } // ACFem::
78
79} // Dune::
80
81#endif // __DATAOUTPUT_PARAMETERS_HH__
Potentially overwrite some parameters.
Definition: dataoutput.hh:37
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 12, 23:30, 2024)