![]() |
OGS
|
|
Definition at line 19 of file XdmfData.h.
#include <XdmfData.h>
Public Member Functions | |
| XdmfData (std::size_t size_partitioned_dim, std::size_t size_tuple, MeshPropertyDataType mesh_property_data_type, std::string const &name, std::optional< MeshLib::MeshItemType > attribute_center, unsigned int n_files, std::optional< ParentDataType > parent_data_type) | |
| XdmfData contains meta data to be passed to the XdmfWriter - it does not contain the actual values!! | |
Public Attributes | |
| std::vector< XdmfDimType > | starts |
| std::vector< XdmfDimType > | strides |
| std::vector< XdmfDimType > | global_block_dims |
| MeshPropertyDataType | data_type |
| std::size_t | size_partitioned_dim |
| std::string | name |
| std::optional< MeshLib::MeshItemType > | attribute_center |
| std::optional< ParentDataType > | parent_data_type |
| MeshLib::IO::XdmfData::XdmfData | ( | std::size_t | size_partitioned_dim, |
| std::size_t | size_tuple, | ||
| MeshPropertyDataType | mesh_property_data_type, | ||
| std::string const & | name, | ||
| std::optional< MeshLib::MeshItemType > | attribute_center, | ||
| unsigned int | n_files, | ||
| std::optional< ParentDataType > | parent_data_type ) |
XdmfData contains meta data to be passed to the XdmfWriter - it does not contain the actual values!!
| size_partitioned_dim | The first dimension (index 0) is assumed to be the dimension that is partitioned. This first dimension expresses the length, usually the number of nodes or the number of cells. These values give the length of the local partition. |
| size_tuple | We assume there is at most a rank of 2 of data (properties). The size of tuple gives the length of the second dimension (index 1). |
| mesh_property_data_type | property vector data type. |
| name | The name of the attribute. It assumed to be unique. |
| attribute_center | XdmfData is used for topology, geometry and attributes. Geometry and topology have never a attribute_center. Attributes have always an attribute_center |
| n_files | specifies the number of files. If greater than 1 it groups the data of each process to n_files |
| parent_data_type | specifies the type of the parent structure (e.g. Topology, DataItem, Grid) |
Definition at line 14 of file XdmfData.cpp.
References attribute_center, name, parent_data_type, size_partitioned_dim, and starts.
| std::optional<MeshLib::MeshItemType> MeshLib::IO::XdmfData::attribute_center |
Definition at line 55 of file XdmfData.h.
Referenced by XdmfData(), and MeshLib::IO::write_xdmf().
| MeshPropertyDataType MeshLib::IO::XdmfData::data_type |
Definition at line 52 of file XdmfData.h.
| std::vector<XdmfDimType> MeshLib::IO::XdmfData::global_block_dims |
Definition at line 51 of file XdmfData.h.
| std::string MeshLib::IO::XdmfData::name |
Definition at line 54 of file XdmfData.h.
Referenced by XdmfData(), and MeshLib::IO::write_xdmf().
| std::optional<ParentDataType> MeshLib::IO::XdmfData::parent_data_type |
Definition at line 56 of file XdmfData.h.
Referenced by XdmfData(), and MeshLib::IO::write_xdmf().
| std::size_t MeshLib::IO::XdmfData::size_partitioned_dim |
Definition at line 53 of file XdmfData.h.
Referenced by XdmfData(), and MeshLib::IO::write_xdmf().
| std::vector<XdmfDimType> MeshLib::IO::XdmfData::starts |
Definition at line 49 of file XdmfData.h.
Referenced by XdmfData().
| std::vector<XdmfDimType> MeshLib::IO::XdmfData::strides |
Definition at line 50 of file XdmfData.h.