v0.13.1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
MoFEM::SideNumber Struct Reference

keeps information about side number for the finite element More...

#include <src/multi_indices/RefEntsMultiIndices.hpp>

Collaboration diagram for MoFEM::SideNumber:
[legend]

Public Member Functions

EntityType getEntType () const
 
int getEntDimension () const
 
const char * getEntTypeName () const
 
 SideNumber (EntityHandle ent, int side_number, int sense, int offset)
 

Public Attributes

EntityHandle ent
 
signed char side_number
 
signed char sense
 
signed char offset
 
signed char brother_side_number
 

Detailed Description

keeps information about side number for the finite element

Examples
scalar_check_approximation.cpp.

Definition at line 57 of file RefEntsMultiIndices.hpp.

Constructor & Destructor Documentation

◆ SideNumber()

MoFEM::SideNumber::SideNumber ( EntityHandle  ent,
int  side_number,
int  sense,
int  offset 
)
inline

Member Function Documentation

◆ getEntDimension()

int MoFEM::SideNumber::getEntDimension ( ) const
inline

Definition at line 68 of file RefEntsMultiIndices.hpp.

68 {
69 return moab::CN::Dimension(getEntType());
70 }
EntityType getEntType() const

◆ getEntType()

EntityType MoFEM::SideNumber::getEntType ( ) const
inline

Definition at line 64 of file RefEntsMultiIndices.hpp.

64 {
65 return static_cast<EntityType>((ent & MB_TYPE_MASK) >> MB_ID_WIDTH);
66 }
#define MB_ID_WIDTH
Definition: definitions.h:227
#define MB_TYPE_MASK
Definition: definitions.h:228

◆ getEntTypeName()

const char * MoFEM::SideNumber::getEntTypeName ( ) const
inline

Definition at line 72 of file RefEntsMultiIndices.hpp.

72 {
73 return moab::CN::EntityTypeName(getEntType());
74 }

Member Data Documentation

◆ brother_side_number

signed char MoFEM::SideNumber::brother_side_number

Definition at line 62 of file RefEntsMultiIndices.hpp.

◆ ent

EntityHandle MoFEM::SideNumber::ent

Definition at line 58 of file RefEntsMultiIndices.hpp.

◆ offset

signed char MoFEM::SideNumber::offset

Definition at line 61 of file RefEntsMultiIndices.hpp.

◆ sense

signed char MoFEM::SideNumber::sense

Definition at line 60 of file RefEntsMultiIndices.hpp.

◆ side_number

signed char MoFEM::SideNumber::side_number

Definition at line 59 of file RefEntsMultiIndices.hpp.


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