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

#include <SimplexParent.h>

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

Public Types

typedef SimplexTraits< dim, order >::SimplexIDType SimplexIDType
typedef SimplexTraits< dim, order >::BaseArrayType BaseArrayType
typedef Simplex< dim, order-1 > ChildSimplexType
typedef SimplexTraits< dim, order-1 >::SimplexIDType ChildIDType

Public Member Functions

 SimplexParent (SimplicialMesh< dim > *const mesh, const SimplexIDType &xID)
Eigen::Matrix< double, dim, SimplexTraits< dim, order >::nVertices > vertexPositionMatrix () const
Eigen::Matrix< double, dim+1, SimplexTraits< dim, order >::nVertices > get_b2p (SimplicialMesh< dim > *const mesh, const SimplexIDType &xID) const
Eigen::Matrix< double, dim, 1 > bary2pos (const Eigen::Matrix< double, SimplexTraits< dim, order >::nVertices, 1 > &bary) const
Eigen::Matrix< double, dim, 1 > center () const
BaseArrayType & children ()
const BaseArrayType & children () const
ChildSimplexType & child (const int &n)
const ChildSimplexType & child (const int &n) const
const std::shared_ptr< ChildSimplexType > & child (const ChildIDType &xID) const

Public Attributes

const Eigen::Matrix< double, dim+1, SimplexTraits< dim, order >::nVertices > b2p
 The barycentric-coordinate to position transformation matrix.

Static Public Attributes

static constexpr int nFaces =SimplexTraits<dim,order>::nFaces

Detailed Description

template<short int dim, short int order>
struct model::SimplexParent< dim, order >

Definition at line 19 of file SimplexParent.h.

Member Typedef Documentation

◆ BaseArrayType

template<short int dim, short int order>
typedef SimplexTraits<dim,order>::BaseArrayType model::SimplexParent< dim, order >::BaseArrayType

Definition at line 23 of file SimplexParent.h.

◆ ChildIDType

template<short int dim, short int order>
typedef SimplexTraits<dim,order-1>::SimplexIDType model::SimplexParent< dim, order >::ChildIDType

Definition at line 25 of file SimplexParent.h.

◆ ChildSimplexType

template<short int dim, short int order>
typedef Simplex<dim,order-1> model::SimplexParent< dim, order >::ChildSimplexType

Definition at line 24 of file SimplexParent.h.

◆ SimplexIDType

template<short int dim, short int order>
typedef SimplexTraits<dim,order>::SimplexIDType model::SimplexParent< dim, order >::SimplexIDType

Definition at line 22 of file SimplexParent.h.

Constructor & Destructor Documentation

◆ SimplexParent()

template<short int dim, short int order>
model::SimplexParent< dim, order >::SimplexParent ( SimplicialMesh< dim > *const mesh,
const SimplexIDType & xID )
inline

Definition at line 34 of file SimplexParent.h.

Member Function Documentation

◆ bary2pos()

template<short int dim, short int order>
Eigen::Matrix< double, dim, 1 > model::SimplexParent< dim, order >::bary2pos ( const Eigen::Matrix< double, SimplexTraits< dim, order >::nVertices, 1 > & bary) const
inline

Definition at line 63 of file SimplexParent.h.

◆ center()

template<short int dim, short int order>
Eigen::Matrix< double, dim, 1 > model::SimplexParent< dim, order >::center ( ) const
inline

Definition at line 69 of file SimplexParent.h.

◆ child() [1/3]

template<short int dim, short int order>
const std::shared_ptr< ChildSimplexType > & model::SimplexParent< dim, order >::child ( const ChildIDType & xID) const
inline

Definition at line 100 of file SimplexParent.h.

◆ child() [2/3]

template<short int dim, short int order>
ChildSimplexType & model::SimplexParent< dim, order >::child ( const int & n)
inline

Definition at line 88 of file SimplexParent.h.

◆ child() [3/3]

template<short int dim, short int order>
const ChildSimplexType & model::SimplexParent< dim, order >::child ( const int & n) const
inline

Definition at line 94 of file SimplexParent.h.

◆ children() [1/2]

template<short int dim, short int order>
BaseArrayType & model::SimplexParent< dim, order >::children ( )
inline

Definition at line 75 of file SimplexParent.h.

◆ children() [2/2]

template<short int dim, short int order>
const BaseArrayType & model::SimplexParent< dim, order >::children ( ) const
inline

Definition at line 81 of file SimplexParent.h.

◆ get_b2p()

template<short int dim, short int order>
Eigen::Matrix< double, dim+1, SimplexTraits< dim, order >::nVertices > model::SimplexParent< dim, order >::get_b2p ( SimplicialMesh< dim > *const mesh,
const SimplexIDType & xID ) const
inline

Definition at line 49 of file SimplexParent.h.

◆ vertexPositionMatrix()

template<short int dim, short int order>
Eigen::Matrix< double, dim, SimplexTraits< dim, order >::nVertices > model::SimplexParent< dim, order >::vertexPositionMatrix ( ) const
inline

Definition at line 43 of file SimplexParent.h.

Member Data Documentation

◆ b2p

template<short int dim, short int order>
const Eigen::Matrix<double,dim+1,SimplexTraits<dim,order>::nVertices> model::SimplexParent< dim, order >::b2p

The barycentric-coordinate to position transformation matrix.

Definition at line 30 of file SimplexParent.h.

◆ nFaces

template<short int dim, short int order>
int model::SimplexParent< dim, order >::nFaces =SimplexTraits<dim,order>::nFaces
staticconstexpr

Definition at line 26 of file SimplexParent.h.


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