GridFormat 0.2.1
I/O-Library for grid-like data structures
Loading...
Searching...
No Matches
pvtp_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_PVTP_READER_HPP_
9#define GRIDFORMAT_VTK_PVTP_READER_HPP_
10
11#include <optional>
12
15
16namespace GridFormat {
17
25
26 public:
28 : ParentType("PPolyData")
29 {}
30
31 explicit PVTPReader(const NullCommunicator&)
32 : ParentType("PPolyData")
33 {}
34
35 template<Concepts::Communicator C>
36 explicit PVTPReader(const C& comm, std::optional<bool> merge_exceeding_pieces = {})
37 : ParentType("PPolyData", comm, merge_exceeding_pieces)
38 {}
39
40 private:
41 std::string _name() const override {
42 return "PVTPReader";
43 }
44};
45
46} // namespace GridFormat
47
48#endif // GRIDFORMAT_VTK_PVTP_READER_HPP_
Reader for .pvtp file format.
Definition: pvtp_reader.hpp:23
Base class for readers of parallel vtk-xml file formats for unstructured grids.
Definition: pxml_reader.hpp:253