v0.9.1
Public Member Functions | Public Attributes | List of all members
MoFEM::interface_FiniteElement< T > Struct Template Reference

Inetface for FE. More...

#include <src/multi_indices/FEMultiIndices.hpp>

Inheritance diagram for MoFEM::interface_FiniteElement< T >:
[legend]

Public Member Functions

 interface_FiniteElement (const boost::shared_ptr< T > &ptr)
 
virtual ~interface_FiniteElement ()=default
 
const boost::shared_ptr< FiniteElement > & get_MoFEMFiniteElementPtr ()
 
BitFEId getId () const
 Get finite element id. More...
 
EntityHandle getMeshset () const
 Get meshset containing element entities. More...
 
boost::string_ref getNameRef () const
 Get finite element name. More...
 
std::string getName () const
 Get finite element name. More...
 
BitFieldId getBitFieldIdCol () const
 Get field ids on columns. More...
 
BitFieldId getBitFieldIdRow () const
 Get field ids on rows. More...
 
BitFieldId getBitFieldIdData () const
 Get field ids on data. More...
 
unsigned int getBitNumber () const
 Get bit identifying this element. More...
 

Public Attributes

boost::shared_ptr< TsFePtr
 

Detailed Description

template<typename T>
struct MoFEM::interface_FiniteElement< T >

Inetface for FE.

Definition at line 355 of file FEMultiIndices.hpp.

Constructor & Destructor Documentation

◆ interface_FiniteElement()

template<typename T>
MoFEM::interface_FiniteElement< T >::interface_FiniteElement ( const boost::shared_ptr< T > &  ptr)

Definition at line 359 of file FEMultiIndices.hpp.

359 : sFePtr(ptr){};
boost::shared_ptr< T > sFePtr

◆ ~interface_FiniteElement()

template<typename T>
virtual MoFEM::interface_FiniteElement< T >::~interface_FiniteElement ( )
virtualdefault

Member Function Documentation

◆ get_MoFEMFiniteElementPtr()

template<typename T>
const boost::shared_ptr<FiniteElement>& MoFEM::interface_FiniteElement< T >::get_MoFEMFiniteElementPtr ( )

Definition at line 362 of file FEMultiIndices.hpp.

362  {
363  return this->sFePtr;
364  };
boost::shared_ptr< T > sFePtr

◆ getBitFieldIdCol()

template<typename T>
BitFieldId MoFEM::interface_FiniteElement< T >::getBitFieldIdCol ( ) const

Get field ids on columns.

Returns
Bit field ids

Definition at line 396 of file FEMultiIndices.hpp.

396  {
397  return this->sFePtr->getBitFieldIdCol();
398  }
boost::shared_ptr< T > sFePtr

◆ getBitFieldIdData()

template<typename T>
BitFieldId MoFEM::interface_FiniteElement< T >::getBitFieldIdData ( ) const

Get field ids on data.

Returns
Bit field ids

Definition at line 412 of file FEMultiIndices.hpp.

412  {
413  return this->sFePtr->getBitFieldIdData();
414  }
boost::shared_ptr< T > sFePtr

◆ getBitFieldIdRow()

template<typename T>
BitFieldId MoFEM::interface_FiniteElement< T >::getBitFieldIdRow ( ) const

Get field ids on rows.

Returns
Bit field ids

Definition at line 404 of file FEMultiIndices.hpp.

404  {
405  return this->sFePtr->getBitFieldIdRow();
406  }
boost::shared_ptr< T > sFePtr

◆ getBitNumber()

template<typename T>
unsigned int MoFEM::interface_FiniteElement< T >::getBitNumber ( ) const

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 424 of file FEMultiIndices.hpp.

424  {
425  return this->sFePtr->getBitNumber();
426  }
boost::shared_ptr< T > sFePtr

◆ getId()

template<typename T>
BitFEId MoFEM::interface_FiniteElement< T >::getId ( ) const

Get finite element id.

Returns
Finite element Id

Definition at line 370 of file FEMultiIndices.hpp.

370 { return this->sFePtr->getId(); }
boost::shared_ptr< T > sFePtr

◆ getMeshset()

template<typename T>
EntityHandle MoFEM::interface_FiniteElement< T >::getMeshset ( ) const

Get meshset containing element entities.

Returns
Meshset

Definition at line 376 of file FEMultiIndices.hpp.

376 { return this->sFePtr->getMeshset(); }
boost::shared_ptr< T > sFePtr

◆ getName()

template<typename T>
std::string MoFEM::interface_FiniteElement< T >::getName ( ) const

Get finite element name.

Returns
string_ref

Definition at line 390 of file FEMultiIndices.hpp.

390 { return this->sFePtr->getName(); }
boost::shared_ptr< T > sFePtr

◆ getNameRef()

template<typename T>
boost::string_ref MoFEM::interface_FiniteElement< T >::getNameRef ( ) const

Get finite element name.

Returns
string_ref

Definition at line 382 of file FEMultiIndices.hpp.

382  {
383  return this->sFePtr->getNameRef();
384  }
boost::shared_ptr< T > sFePtr

Member Data Documentation

◆ sFePtr

template<typename T>
boost::shared_ptr<T> MoFEM::interface_FiniteElement< T >::sFePtr
mutable

Definition at line 357 of file FEMultiIndices.hpp.


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