21 template <
class Gr
idView,
class DataCollector = Vtk::ContinuousDataCollector<Gr
idView>>
36 virtual void writeSerialFile (std::ofstream& out)
const override;
41 virtual void writeParallelFile (std::ofstream& out, std::string
const& pfilename,
int size)
const override;
52 void writeTimeseriesSerialFile (std::ofstream& out,
53 std::string
const& filenameMesh,
54 std::vector<std::pair<double, std::string>>
const& timesteps,
55 std::vector<std::uint64_t>
const& blocks)
const;
58 void writeTimeseriesParallelFile (std::ofstream& out,
59 std::string
const& pfilename,
int size,
60 std::vector<std::pair<double, std::string>>
const& timesteps)
const;
62 virtual std::string fileExtension ()
const override
67 virtual void writeGridAppended (std::ofstream& out, std::vector<std::uint64_t>& blocks)
const override;
72 void writeCells (std::ofstream& out,
73 std::vector<pos_type>& offsets,
74 std::optional<std::size_t> timestep = {})
const;
76 void writePointIds (std::ofstream& out,
77 std::vector<pos_type>& offsets,
78 std::optional<std::size_t> timestep = {})
const;
92 template <
class GridView,
93 class = std::void_t<typename GridView::IndexSet>>
97 template <
class DataCollector,
98 class = std::void_t<typename DataCollector::GridView>>
102 template <
class DataCollector,
103 class = std::void_t<typename DataCollector::GridView>>
Definition: datacollectorinterface.hh:9
VtkUnstructuredGridWriter(GridView const &, Vtk::FormatTypes=Vtk::FormatTypes::BINARY, Vtk::DataTypes=Vtk::DataTypes::FLOAT32) -> VtkUnstructuredGridWriter< GridView, Vtk::ContinuousDataCollector< GridView >>
FormatTypes
Type used for representing the output format.
Definition: types.hh:21
@ BINARY
Definition: types.hh:23
DataTypes
Definition: types.hh:50
@ FLOAT32
Definition: types.hh:56
File-Writer for Vtk timeseries .vtu files.
Definition: vtktimeserieswriter.hh:25
Interface for file writers for the Vtk XML file formats.
Definition: vtkwriterinterface.hh:25
std::shared_ptr< DataCollector > dataCollector_
Definition: vtkwriterinterface.hh:260
Vtk::FormatTypes format_
Definition: vtkwriterinterface.hh:262
std::vector< VtkFunction > pointData_
Definition: vtkwriterinterface.hh:268
std::vector< VtkFunction > cellData_
Definition: vtkwriterinterface.hh:269
Vtk::DataTypes headertype_
Definition: vtkwriterinterface.hh:264
Vtk::DataTypes datatype_
Definition: vtkwriterinterface.hh:263
typename std::ostream::pos_type pos_type
Definition: vtkwriterinterface.hh:35
File-Writer for VTK .vtu files.
Definition: vtkunstructuredgridwriter.hh:24