https://mooseframework.inl.gov
Public Types | Public Member Functions | Public Attributes | List of all members
MeshInfo::InfoMap< InfoType, ItemsType > Struct Template Reference

Struct that defines a domain (sideset or subdomain) map (id -> entities) and the items that should be output about that domain. More...

#include <MeshInfo.h>

Public Types

using id_type = typename InfoType::id_type
 
using info_type = InfoType
 
using map_type = std::map< id_type, InfoType >
 

Public Member Functions

 InfoMap ()=default
 
 InfoMap (const ItemsType &items)
 

Public Attributes

map_type map
 The underlying data. More...
 
ItemsType items
 Which items are to be output. More...
 

Detailed Description

template<class InfoType, class ItemsType>
struct MeshInfo::InfoMap< InfoType, ItemsType >

Struct that defines a domain (sideset or subdomain) map (id -> entities) and the items that should be output about that domain.

Template Parameters
InfoTypeThe type of the information storage for each entity.
ItemsTypeThe type of the items storage that define what to output.

Definition at line 252 of file MeshInfo.h.

Member Typedef Documentation

◆ id_type

template<class InfoType , class ItemsType >
using MeshInfo::InfoMap< InfoType, ItemsType >::id_type = typename InfoType::id_type

Definition at line 254 of file MeshInfo.h.

◆ info_type

template<class InfoType , class ItemsType >
using MeshInfo::InfoMap< InfoType, ItemsType >::info_type = InfoType

Definition at line 255 of file MeshInfo.h.

◆ map_type

template<class InfoType , class ItemsType >
using MeshInfo::InfoMap< InfoType, ItemsType >::map_type = std::map<id_type, InfoType>

Definition at line 256 of file MeshInfo.h.

Constructor & Destructor Documentation

◆ InfoMap() [1/2]

template<class InfoType , class ItemsType >
MeshInfo::InfoMap< InfoType, ItemsType >::InfoMap ( )
default

◆ InfoMap() [2/2]

template<class InfoType , class ItemsType >
MeshInfo::InfoMap< InfoType, ItemsType >::InfoMap ( const ItemsType &  items)
inline

Definition at line 259 of file MeshInfo.h.

259 : items(items) {}
ItemsType items
Which items are to be output.
Definition: MeshInfo.h:264

Member Data Documentation

◆ items

template<class InfoType , class ItemsType >
ItemsType MeshInfo::InfoMap< InfoType, ItemsType >::items

Which items are to be output.

Definition at line 264 of file MeshInfo.h.

Referenced by to_json().

◆ map

template<class InfoType , class ItemsType >
map_type MeshInfo::InfoMap< InfoType, ItemsType >::map

The underlying data.

Definition at line 262 of file MeshInfo.h.

Referenced by dataLoad(), dataStore(), MeshInfo::possiblyAddElemInfo(), and to_json().


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