GridFormat 0.2.1
I/O-Library for grid-like data structures
Loading...
Searching...
No Matches
pvtu_reader.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2022-2023 Dennis Gläser <dennis.glaeser@iws.uni-stuttgart.de>
2// SPDX-License-Identifier: MIT
8#ifndef GRIDFORMAT_VTK_PVTU_READER_HPP_
9#define GRIDFORMAT_VTK_PVTU_READER_HPP_
10
11#include <optional>
12
15
16namespace GridFormat {
17
25
26 public:
28 : ParentType("PUnstructuredGrid")
29 {}
30
31 explicit PVTUReader(const NullCommunicator&)
32 : ParentType("PUnstructuredGrid")
33 {}
34
35 template<Concepts::Communicator C>
36 explicit PVTUReader(const C& comm, std::optional<bool> merge_exceeding_pieces = {})
37 : ParentType("PUnstructuredGrid", comm, merge_exceeding_pieces)
38 {}
39
40 private:
41 std::string _name() const override {
42 return "PVTUReader";
43 }
44};
45
46} // namespace GridFormat
47
48#endif // GRIDFORMAT_VTK_PVTU_READER_HPP_
Reader for .pvtu file format.
Definition: pvtu_reader.hpp:23
Base class for readers of parallel vtk-xml file formats for unstructured grids.
Definition: pxml_reader.hpp:253