v0.8.15
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)
 
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 383 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 387 of file FEMultiIndices.hpp.

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

Member Function Documentation

◆ get_MoFEMFiniteElementPtr()

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

Definition at line 389 of file FEMultiIndices.hpp.

389  {
390  return this->sFePtr;
391  };
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 423 of file FEMultiIndices.hpp.

423  {
424  return this->sFePtr->getBitFieldIdCol();
425  }
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 439 of file FEMultiIndices.hpp.

439  {
440  return this->sFePtr->getBitFieldIdData();
441  }
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 431 of file FEMultiIndices.hpp.

431  {
432  return this->sFePtr->getBitFieldIdRow();
433  }
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 451 of file FEMultiIndices.hpp.

451  {
452  return this->sFePtr->getBitNumber();
453  }
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 397 of file FEMultiIndices.hpp.

397 { 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 403 of file FEMultiIndices.hpp.

403 { 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 417 of file FEMultiIndices.hpp.

417 { 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 409 of file FEMultiIndices.hpp.

409  {
410  return this->sFePtr->getNameRef();
411  }
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 385 of file FEMultiIndices.hpp.


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