v0.14.0
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

Definition at line 76 of file RefEntsMultiIndices.hpp.

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  }

◆ 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  }

◆ 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:
MB_TYPE_MASK
#define MB_TYPE_MASK
Definition: definitions.h:241
MoFEM::SideNumber::getEntType
EntityType getEntType() const
Definition: RefEntsMultiIndices.hpp:64
MoFEM::SideNumber::offset
signed char offset
Definition: RefEntsMultiIndices.hpp:61
MoFEM::SideNumber::brother_side_number
signed char brother_side_number
Definition: RefEntsMultiIndices.hpp:62
MoFEM::SideNumber::ent
EntityHandle ent
Definition: RefEntsMultiIndices.hpp:58
MB_ID_WIDTH
#define MB_ID_WIDTH
Definition: definitions.h:240
MoFEM::SideNumber::sense
signed char sense
Definition: RefEntsMultiIndices.hpp:60
MoFEM::SideNumber::side_number
signed char side_number
Definition: RefEntsMultiIndices.hpp:59