VTK
9.4.20241218
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
IO
ADIOS2
VTX
common
VTXTypes.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-License-Identifier: BSD-3-Clause
3
4
/*
5
* VTXTypes.h : header-only type definitions needed by the VTK::IOADIOS2 module
6
*
7
* Created on: May 14, 2019
8
* Author: William F Godoy godoywf@ornl.gov
9
*/
10
11
#ifndef VTK_IO_ADIOS2_VTX_COMMON_VTXTypes_h
12
#define VTK_IO_ADIOS2_VTX_COMMON_VTXTypes_h
13
14
#include <map>
15
#include <vector>
16
17
#include "
VTXDataArray.h
"
18
19
#include <adios2.h>
20
21
namespace
vtx
22
{
23
namespace
types
24
{
25
VTK_ABI_NAMESPACE_BEGIN
26
28
using
DataSet
= std::map<std::string, DataArray>;
29
30
enum class
DataSetType
31
{
32
CellData
,
33
PointData
,
34
Points
,
35
Coordinates
,
36
Cells
,
37
Verts
,
38
Lines
,
39
Strips
,
40
Polys
41
};
42
43
using
Piece
= std::map<DataSetType, DataSet>;
44
45
#define VTK_IO_ADIOS2_VTX_ARRAY_TYPE(MACRO) \
46
MACRO(int32_t) \
47
MACRO(uint32_t) \
48
MACRO(int64_t) \
49
MACRO(uint64_t) \
50
MACRO(float) \
51
MACRO(double)
52
53
VTK_ABI_NAMESPACE_END
54
}
// end namespace types
55
}
// end namespace vtx
56
57
#endif
/* VTK_IO_ADIOS2_VTX_COMMON_VTXTypes_h */
VTXDataArray.h
vtx::types::DataSet
std::map< std::string, DataArray > DataSet
key: variable name, value: DataArray
Definition
VTXTypes.h:28
vtx::types::DataSetType
DataSetType
Definition
VTXTypes.h:31
vtx::types::DataSetType::CellData
@ CellData
vtx::types::DataSetType::Strips
@ Strips
vtx::types::DataSetType::Cells
@ Cells
vtx::types::DataSetType::Points
@ Points
vtx::types::DataSetType::Coordinates
@ Coordinates
vtx::types::DataSetType::Lines
@ Lines
vtx::types::DataSetType::Verts
@ Verts
vtx::types::DataSetType::PointData
@ PointData
vtx::types::DataSetType::Polys
@ Polys
vtx::types::Piece
std::map< DataSetType, DataSet > Piece
Definition
VTXTypes.h:43
vtx
Definition
vtkADIOS2VTXReader.h:24
Generated on Wed Dec 18 2024 10:49:13 for VTK by
1.9.7