- Copyright
- Copyright (c) 2012-2024, OpenGeoSys Community (http://www.opengeosys.org) Distributed under a Modified BSD License. See accompanying file LICENSE.txt or http://www.opengeosys.org/project/license
Definition in file transformData.cpp.
#include "transformData.h"
#include <algorithm>
#include <array>
#include <optional>
#include <range/v3/action/push_back.hpp>
#include <range/v3/view/transform.hpp>
#include <string>
#include "BaseLib/cpp23.h"
#include "InfoLib/GitInfo.h"
#include "MeshLib/Elements/Element.h"
#include "MeshLib/Mesh.h"
#include "MeshLib/MeshEnums.h"
#include "MeshLib/Node.h"
#include "MeshPropertyDataType.h"
#include "partition.h"
Go to the source code of this file.
|
static constexpr auto | MeshLib::IO::elemOGSTypeToXDMFType () |
|
constexpr auto | MeshLib::IO::cellTypeOGS2XDMF (MeshLib::CellType const &cell_type) |
|
std::optional< XdmfHdfData > | MeshLib::IO::transformAttribute (std::pair< std::string, PropertyVectorBase * > const &property_pair, unsigned int const n_files, unsigned int const chunk_size_bytes) |
|
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.
|
|
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.
|
|
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.
|
|
ParentDataType | MeshLib::IO::getTopologyType (MeshLib::Mesh const &mesh) |
|
std::pair< std::vector< std::size_t >, 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.
|
|
XdmfHdfData | MeshLib::IO::transformTopology (std::vector< std::size_t > 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.
|
|