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)
 
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 345 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 349 of file FEMultiIndices.hpp.

349 : 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 351 of file FEMultiIndices.hpp.

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

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

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

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

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

359 { 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 365 of file FEMultiIndices.hpp.

365 { 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 379 of file FEMultiIndices.hpp.

379 { 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 371 of file FEMultiIndices.hpp.

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


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