Vulpes  0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
Loading...
Searching...
No Matches
vulpes::geometry::Metadata< FloatType, IndexType > Struct Template Reference

A structure to store global metadata. More...

#include <mesh_base.hpp>

Public Types

using MetadataLabel = std::string
 < The name of the metadata field (e.g., "XPeriod", "NumCells").

Public Attributes

std::unordered_map< MetadataLabel, std::vector< FloatType > > doubles
 Maps metadata name to vector of integer values.
std::unordered_map< MetadataLabel, std::vector< IndexType > > ints

Detailed Description

template<typename FloatType, typename IndexType>
struct vulpes::geometry::Metadata< FloatType, IndexType >

A structure to store global metadata.

Metadata represents global mesh properties that are not tied to specific mesh entities. For example: mesh dimensions, physical parameters, periodicity information, etc.

Template Parameters
FloatTypeThe type used for floating-point metadata values.
IndexTypeThe type used for integer metadata values.

Member Typedef Documentation

◆ MetadataLabel

template<typename FloatType, typename IndexType>
using vulpes::geometry::Metadata< FloatType, IndexType >::MetadataLabel = std::string

< The name of the metadata field (e.g., "XPeriod", "NumCells").

Maps metadata name to vector of floating-point values.

Member Data Documentation

◆ doubles

template<typename FloatType, typename IndexType>
std::unordered_map<MetadataLabel, std::vector<FloatType> > vulpes::geometry::Metadata< FloatType, IndexType >::doubles

Maps metadata name to vector of integer values.

◆ ints

template<typename FloatType, typename IndexType>
std::unordered_map<MetadataLabel, std::vector<IndexType> > vulpes::geometry::Metadata< FloatType, IndexType >::ints

The documentation for this struct was generated from the following file: