OGS
|
Transforms OGS Mesh into vectorized data.
Definition in file transformData.h.
Go to the source code of this file.
Namespaces | |
namespace | MeshLib |
namespace | MeshLib::IO |
Functions | |
std::vector< XdmfHdfData > | MeshLib::IO::transformAttributes (MeshLib::Mesh const &mesh, unsigned int n_files, unsigned int chunk_size_bytes) |
Create meta data for attributes used for hdf5 and xdmf. | |
XdmfHdfData | MeshLib::IO::transformGeometry (MeshLib::Mesh const &mesh, double const *data_ptr, unsigned int n_files, unsigned int chunk_size_bytes) |
Create meta data for geometry used for hdf5 and xdmf. | |
XdmfHdfData | MeshLib::IO::transformTopology (std::vector< int > const &values, ParentDataType const parent_data_type, unsigned int n_files, unsigned int chunk_size_bytes) |
Create meta data for topology used for HDF5 and XDMF. | |
std::vector< double > | MeshLib::IO::transformToXDMFGeometry (MeshLib::Mesh const &mesh) |
Copies all node points into a new vector. Contiguous data used for writing. Conform with XDMF standard in https://xdmf.org/index.php/XDMF_Model_and_Format. | |
std::pair< std::vector< int >, ParentDataType > | MeshLib::IO::transformToXDMFTopology (MeshLib::Mesh const &mesh, std::size_t const offset) |
Copies all cells into a new vector. Contiguous data used for writing. The topology is specific to xdmf because it contains the xdmf cell types!! See section topology in https://xdmf.org/index.php/XDMF_Model_and_Format. | |