Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
model::SimplexID< nVertices > Struct Template Reference

#include <SimplexTraits.h>

Inheritance diagram for model::SimplexID< nVertices >:
Collaboration diagram for model::SimplexID< nVertices >:

Public Types

typedef size_t ScalarIDType
typedef std::array< size_t, nVertices >::size_type size_type

Public Member Functions

 SimplexID (const std::set< size_t > &set)
ScalarIDType & operator() (const size_type &k)
const ScalarIDType & operator() (const size_type &k) const

Friends

template<class T>
T & operator<< (T &os, const SimplexID &xID)

Detailed Description

template<short int nVertices>
struct model::SimplexID< nVertices >

Definition at line 28 of file SimplexTraits.h.

Member Typedef Documentation

◆ ScalarIDType

template<short int nVertices>
typedef size_t model::SimplexID< nVertices >::ScalarIDType

Definition at line 30 of file SimplexTraits.h.

◆ size_type

template<short int nVertices>
typedef std::array<size_t,nVertices>::size_type model::SimplexID< nVertices >::size_type

Definition at line 31 of file SimplexTraits.h.

Constructor & Destructor Documentation

◆ SimplexID()

template<short int nVertices>
model::SimplexID< nVertices >::SimplexID ( const std::set< size_t > & set)
inline

Definition at line 33 of file SimplexTraits.h.

Member Function Documentation

◆ operator()() [1/2]

template<short int nVertices>
ScalarIDType & model::SimplexID< nVertices >::operator() ( const size_type & k)
inline

Definition at line 56 of file SimplexTraits.h.

◆ operator()() [2/2]

template<short int nVertices>
const ScalarIDType & model::SimplexID< nVertices >::operator() ( const size_type & k) const
inline

Definition at line 61 of file SimplexTraits.h.

◆ operator<<

template<short int nVertices>
template<class T>
T & operator<< ( T & os,
const SimplexID< nVertices > & xID )
friend

Definition at line 68 of file SimplexTraits.h.


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