OGS
writeXdmf.cpp File Reference

Detailed Description

Definition in file writeXdmf.cpp.

#include "writeXdmf.h"
#include <algorithm>
#include <array>
#include <fstream>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <optional>
#include <string_view>
#include <vector>
#include "BaseLib/Error.h"
#include "BaseLib/cpp23.h"
#include "MeshLib/Location.h"
Include dependency graph for writeXdmf.cpp:

Go to the source code of this file.

Namespaces

namespace  MeshLib
 
namespace  MeshLib::IO
 

Functions

static std::string MeshLib::IO::meshItemTypeString (std::optional< MeshItemType > const &item_type)
 
static auto MeshLib::IO::meshPropertyDatatypeString ()
 
static std::string MeshLib::IO::getPropertyDataTypeString (MeshPropertyDataType const &ogs_data_type)
 
static constexpr auto MeshLib::IO::meshPropertyDatatypeSize ()
 
static std::string MeshLib::IO::getPropertyDataTypeSize (MeshPropertyDataType const &ogs_data_type)
 
std::function< std::string(std::vector< double >)> MeshLib::IO::write_xdmf (XdmfData const &geometry, XdmfData const &topology, std::vector< XdmfData > const &constant_attributes, std::vector< XdmfData > const &variable_attributes, std::string const &h5filename, std::string const &ogs_version, std::string const &mesh_name)
 Generator function that creates a function capturing the spatial data of a mesh Temporal data can later be passed as argument.
 

Variables

constexpr char const * MeshLib::IO::mesh_item_type_strings []
 
auto MeshLib::IO::ogs_to_xdmf_type_fn = meshPropertyDatatypeSize()