Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
model::SimplexChild< dim, order > Class Template Reference

#include <SimplexChild.h>

Inheritance diagram for model::SimplexChild< dim, order >:
Collaboration diagram for model::SimplexChild< dim, order >:

Public Types

using SimplexType = typename SimplexTraits<dim, order>::SimplexType
using ParentSimplexType = typename SimplexTraits<dim, order + 1>::SimplexType
using ParentSimplexIDType = typename SimplexTraits<dim, order + 1>::SimplexIDType
using ParentContainerType = std::map<ParentSimplexIDType, std::shared_ptr<ParentSimplexType>>
using ParentLinks = std::map<ParentSimplexIDType, std::weak_ptr<ParentSimplexType>>
using SiblingsContainerType

Public Member Functions

void addParent (const std::shared_ptr< ParentSimplexType > &parent)
const ParentLinks & parentLinks () const
ParentContainerType parents () const
SiblingsContainerType siblings () const
bool isBoundarySimplex () const
bool isRegionBoundarySimplex () const
bool isInRegion (const size_t &id) const
std::set< size_t > regionIDs () const

Detailed Description

template<short int dim, short int order>
class model::SimplexChild< dim, order >

Definition at line 11 of file SimplexChild.h.

Member Typedef Documentation

◆ ParentContainerType

template<short int dim, short int order>
using model::SimplexChild< dim, order >::ParentContainerType = std::map<ParentSimplexIDType, std::shared_ptr<ParentSimplexType>>

Definition at line 17 of file SimplexChild.h.

◆ ParentLinks

template<short int dim, short int order>
using model::SimplexChild< dim, order >::ParentLinks = std::map<ParentSimplexIDType, std::weak_ptr<ParentSimplexType>>

Definition at line 18 of file SimplexChild.h.

◆ ParentSimplexIDType

template<short int dim, short int order>
using model::SimplexChild< dim, order >::ParentSimplexIDType = typename SimplexTraits<dim, order + 1>::SimplexIDType

Definition at line 16 of file SimplexChild.h.

◆ ParentSimplexType

template<short int dim, short int order>
using model::SimplexChild< dim, order >::ParentSimplexType = typename SimplexTraits<dim, order + 1>::SimplexType

Definition at line 15 of file SimplexChild.h.

◆ SiblingsContainerType

template<short int dim, short int order>
using model::SimplexChild< dim, order >::SiblingsContainerType
Initial value:
std::map<typename SimplexTraits<dim, order>::SimplexIDType, std::shared_ptr<SimplexType>>

Definition at line 19 of file SimplexChild.h.

◆ SimplexType

template<short int dim, short int order>
using model::SimplexChild< dim, order >::SimplexType = typename SimplexTraits<dim, order>::SimplexType

Definition at line 14 of file SimplexChild.h.

Member Function Documentation

◆ addParent()

template<short int dim, short int order>
void model::SimplexChild< dim, order >::addParent ( const std::shared_ptr< ParentSimplexType > & parent)
inline

Definition at line 26 of file SimplexChild.h.

◆ isBoundarySimplex()

template<short int dim, short int order>
bool model::SimplexChild< dim, order >::isBoundarySimplex ( ) const
inline

Definition at line 67 of file SimplexChild.h.

◆ isInRegion()

template<short int dim, short int order>
bool model::SimplexChild< dim, order >::isInRegion ( const size_t & id) const
inline

Definition at line 75 of file SimplexChild.h.

◆ isRegionBoundarySimplex()

template<short int dim, short int order>
bool model::SimplexChild< dim, order >::isRegionBoundarySimplex ( ) const
inline

Definition at line 71 of file SimplexChild.h.

◆ parentLinks()

template<short int dim, short int order>
const ParentLinks & model::SimplexChild< dim, order >::parentLinks ( ) const
inline

Definition at line 38 of file SimplexChild.h.

◆ parents()

template<short int dim, short int order>
ParentContainerType model::SimplexChild< dim, order >::parents ( ) const
inline

Definition at line 43 of file SimplexChild.h.

◆ regionIDs()

template<short int dim, short int order>
std::set< size_t > model::SimplexChild< dim, order >::regionIDs ( ) const
inline

Definition at line 79 of file SimplexChild.h.

◆ siblings()

template<short int dim, short int order>
SiblingsContainerType model::SimplexChild< dim, order >::siblings ( ) const
inline

Definition at line 55 of file SimplexChild.h.


The documentation for this class was generated from the following files: