OGS
transformData.h File Reference

Detailed Description

Transforms OGS Mesh into vectorized data.

Author
Tobias Meisel
Date
2020-11-13

Definition in file transformData.h.

#include <set>
#include <string>
#include "XdmfHdfData.h"
Include dependency graph for transformData.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MeshLib
 
namespace  MeshLib::IO
 

Functions

std::vector< XdmfHdfDataMeshLib::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, 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::vector< int > 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.