|
| v0.14.0
|
Finite element definition.
More...
#include <src/multi_indices/FEMultiIndices.hpp>
Finite element definition.
Definition at line 26 of file FEMultiIndices.hpp.
◆ FiniteElement()
Definition at line 325 of file FEMultiIndices.cpp.
330 moab.tag_get_by_ptr(th_FEId, &
meshset, 1, (
const void **)&
tagId),
333 CHK_MOAB_THROW(moab.tag_get_handle(
"_FEName", th_FEName),
"get tag");
337 Tag th_FEIdCol, th_FEIdRow, th_FEIdData;
338 CHK_MOAB_THROW(moab.tag_get_handle(
"_FEIdCol", th_FEIdCol),
"get_tag");
342 CHK_MOAB_THROW(moab.tag_get_handle(
"_FEIdRow", th_FEIdRow),
"get tag");
346 CHK_MOAB_THROW(moab.tag_get_handle(
"_FEIdData", th_FEIdData),
"get tag");
◆ getBitFieldIdCol()
BitFieldId MoFEM::FiniteElement::getBitFieldIdCol |
( |
| ) |
const |
|
inline |
◆ getBitFieldIdData()
BitFieldId MoFEM::FiniteElement::getBitFieldIdData |
( |
| ) |
const |
|
inline |
◆ getBitFieldIdRow()
BitFieldId MoFEM::FiniteElement::getBitFieldIdRow |
( |
| ) |
const |
|
inline |
◆ getBitNumber()
unsigned int MoFEM::FiniteElement::getBitNumber |
( |
| ) |
const |
|
inline |
Get bit identifying this element.
Each element like field is identified by bit set. Each element has unique bit set, this function returns number of that bit.
- Returns
- Bit number
Definition at line 106 of file FEMultiIndices.hpp.
◆ getFEUId()
const UId& MoFEM::FiniteElement::getFEUId |
( |
| ) |
const |
|
inline |
◆ getId()
BitFEId MoFEM::FiniteElement::getId |
( |
| ) |
const |
|
inline |
◆ getMeshset()
Get meshset containing element entities.
- Returns
- Meshset
Definition at line 56 of file FEMultiIndices.hpp.
◆ getName()
std::string MoFEM::FiniteElement::getName |
( |
| ) |
const |
|
inline |
◆ getNameRef()
boost::string_ref MoFEM::FiniteElement::getNameRef |
( |
| ) |
const |
|
inline |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const FiniteElement & |
e |
|
) |
| |
|
friend |
print finite element
Definition at line 363 of file FEMultiIndices.cpp.
364 os << e.getNameRef() <<
" fe_id " << e.getId().to_ulong() <<
" f_id_row "
365 << e.getBitFieldIdRow() <<
" f_id_col " << e.getBitFieldIdCol()
366 <<
" BitFEId_data " << e.getBitFieldIdData();
◆ elementAdjacencyTable
Table of functions retrieving adjacencies for finite element User can alter and change default behavior.
Definition at line 114 of file FEMultiIndices.hpp.
◆ ent_shift
constexpr int MoFEM::FiniteElement::ent_shift = 64 |
|
staticconstexprprivate |
◆ feUId
UId MoFEM::FiniteElement::feUId |
◆ meshset
◆ tag_BitFieldId_col_data
BitFieldId* MoFEM::FiniteElement::tag_BitFieldId_col_data |
◆ tag_BitFieldId_data
BitFieldId* MoFEM::FiniteElement::tag_BitFieldId_data |
◆ tag_BitFieldId_row_data
BitFieldId* MoFEM::FiniteElement::tag_BitFieldId_row_data |
◆ tagId
BitFEId* MoFEM::FiniteElement::tagId |
◆ tagName
void* MoFEM::FiniteElement::tagName |
◆ tagNameSize
int MoFEM::FiniteElement::tagNameSize |
The documentation for this struct was generated from the following files:
#define CHK_MOAB_THROW(err, msg)
Check error code of MoAB function and throw MoFEM exception.
static MoFEMErrorCode defaultEdge(Interface &moab, const Field &field, const EntFiniteElement &fe, std::vector< EntityHandle > &adjacency)
std::array< ElementAdjacencyFunct, MBMAXTYPE > elementAdjacencyTable
Table of functions retrieving adjacencies for finite element User can alter and change default behavi...
std::bitset< BITFIELDID_SIZE > BitFieldId
Field Id.
BitFEId * tagId
ptr to tag storing FE id
BitFieldId * tag_BitFieldId_row_data
tag stores row id_id for fields
static MoFEMErrorCode defaultPrism(Interface &moab, const Field &field, const EntFiniteElement &fe, std::vector< EntityHandle > &adjacency)
EntityHandle meshset
meshset stores FE ents
static MoFEMErrorCode defaultVertex(Interface &moab, const Field &field, const EntFiniteElement &fe, std::vector< EntityHandle > &adjacency)
static MoFEMErrorCode defaultMeshset(Interface &moab, const Field &field, const EntFiniteElement &fe, std::vector< EntityHandle > &adjacency)
static MoFEMErrorCode defaultVolume(Interface &moab, const Field &field, const EntFiniteElement &fe, std::vector< EntityHandle > &adjacency)
static constexpr int ent_shift
unsigned int getBitNumber() const
Get bit identifying this element.
BitFieldId * tag_BitFieldId_col_data
tag stores col id_id for fields
int tagNameSize
numer of characters in FE name
static MoFEMErrorCode defaultFace(Interface &moab, const Field &field, const EntFiniteElement &fe, std::vector< EntityHandle > &adjacency)
BitFieldId * tag_BitFieldId_data
tag stores data id_id for fields
void * tagName
ptr to tag storing FE name