v0.8.23
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 346 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 350 of file FEMultiIndices.hpp.

350 : 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 352 of file FEMultiIndices.hpp.

352  {
353  return this->sFePtr;
354  };
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 386 of file FEMultiIndices.hpp.

386  {
387  return this->sFePtr->getBitFieldIdCol();
388  }
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 402 of file FEMultiIndices.hpp.

402  {
403  return this->sFePtr->getBitFieldIdData();
404  }
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 394 of file FEMultiIndices.hpp.

394  {
395  return this->sFePtr->getBitFieldIdRow();
396  }
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 414 of file FEMultiIndices.hpp.

414  {
415  return this->sFePtr->getBitNumber();
416  }
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 360 of file FEMultiIndices.hpp.

360 { 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 366 of file FEMultiIndices.hpp.

366 { 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 380 of file FEMultiIndices.hpp.

380 { 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 372 of file FEMultiIndices.hpp.

372  {
373  return this->sFePtr->getNameRef();
374  }
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 348 of file FEMultiIndices.hpp.


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