GridFormat
0.6.0
I/O-Library for grid-like data structures
Toggle main menu visibility
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
13
#include <
gridformat/vtk/vtu_reader.hpp
>
14
#include <
gridformat/vtk/pxml_reader.hpp
>
15
16
namespace
GridFormat {
17
23
class
PVTUReader :
public
VTK::PXMLUnstructuredGridReader
<VTUReader> {
24
using
ParentType =
VTK::PXMLUnstructuredGridReader<VTUReader>
;
25
26
public
:
27
PVTUReader()
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_
GridFormat::VTK::PXMLUnstructuredGridReader
Base class for readers of parallel vtk-xml file formats for unstructured grids.
Definition
pxml_reader.hpp:253
pxml_reader.hpp
Base class for readers of parallel vtk-xml file formats.
vtu_reader.hpp
Reader for .vtu file format.
gridformat
vtk
pvtu_reader.hpp
Generated by
1.18.0