v0.15.0
Loading...
Searching...
No Matches
MoFEM::interface_FiniteElement< T, T > Struct Template Reference

#include "src/multi_indices/FEMultiIndices.hpp"

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

Public Member Functions

 interface_FiniteElement (const boost::shared_ptr< T > fe_ptr, const boost::shared_ptr< T > ref_ents_ptr)
 
const UIdgetFEUId () const
 Get finite element uid.
 
BitFEId getId () const
 Get finite element id.
 
EntityHandle getMeshset () const
 Get meshset containing element entities.
 
boost::string_ref getNameRef () const
 Get finite element name.
 
std::string getName () const
 Get finite element name.
 
BitFieldId getBitFieldIdCol () const
 Get field ids on columns.
 
BitFieldId getBitFieldIdRow () const
 Get field ids on rows.
 
BitFieldId getBitFieldIdData () const
 Get field ids on data.
 
unsigned int getBitNumber () const
 Get bit identifying this element.
 
boost::shared_ptr< FiniteElement > & getFiniteElementPtr () const
 
- Public Member Functions inherited from MoFEM::interface_FiniteElementImpl< T, T >
 interface_FiniteElementImpl (const boost::shared_ptr< T > fe_ptr, const boost::shared_ptr< T > ref_ents_ptr)
 
virtual ~interface_FiniteElementImpl ()=default
 
- Public Member Functions inherited from MoFEM::interface_RefElement< T >
 interface_RefElement (const boost::shared_ptr< T > &sptr)
 
virtual ~interface_RefElement ()=default
 
int getBitRefEdgesUlong () const
 
SideNumber_multiIndexgetSideNumberTable () const
 
const boost::shared_ptr< SideNumber > & getSideNumberPtr (const EntityHandle ent) const
 
boost::shared_ptr< RefEntity > & getRefEntityPtr () const
 
boost::shared_ptr< T > & getRefElement () const
 
- Public Member Functions inherited from MoFEM::interface_RefEntity< T >
 interface_RefEntity (const boost::shared_ptr< T > &sptr)
 
 interface_RefEntity (const interface_RefEntity< T > &interface)
 
virtual ~interface_RefEntity ()=default
 
int getSideNumber () const
 
boost::shared_ptr< SideNumbergetSideNumberPtr () const
 
const boost::shared_ptr< BasicEntityDatagetBasicDataPtr () const
 
EntityHandle getEnt () const
 
EntityType getParentEntType () const
 
EntityHandle getParentEnt () const
 
BitRefLevelgetBitRefLevelPtr () const
 
const BitRefLevelgetBitRefLevel () const
 
unsigned long int getBitRefLevelULong () const
 
EntityType getEntType () const
 
int getEntDimension () const
 
const char * getEntTypeName () const
 
EntityID getEntId () const
 
EntityHandle getOwnerEnt () const
 
EntityHandlegetOwnerEnt ()
 
int getOwnerProc () const
 
int getPartProc () const
 
int * getPartProcPtr () const
 
unsigned char getPStatus () const
 
int * getSharingProcsPtr () const
 
EntityHandlegetSharingHandlersPtr () const
 
boost::shared_ptr< T > & getRefEntityPtr () const
 

Additional Inherited Members

- Public Types inherited from MoFEM::interface_RefElement< T >
typedef interface_RefEntity< T > interface_type_RefEntity
 
typedef interface_RefElement< T > interface_type_RefElement
 
- Public Attributes inherited from MoFEM::interface_RefEntity< T >
boost::shared_ptr< T > sPtr
 

Detailed Description

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

Definition at line 454 of file FEMultiIndices.hpp.

Constructor & Destructor Documentation

◆ interface_FiniteElement()

template<typename T >
MoFEM::interface_FiniteElement< T, T >::interface_FiniteElement ( const boost::shared_ptr< T > fe_ptr,
const boost::shared_ptr< T > ref_ents_ptr )
inline

Definition at line 457 of file FEMultiIndices.hpp.

459 : interface_FiniteElementImpl<T, T>(fe_ptr, ref_ents_ptr) {}

Member Function Documentation

◆ getBitFieldIdCol()

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

Get field ids on columns.

Returns
Bit field ids

Definition at line 497 of file FEMultiIndices.hpp.

497 {
498 return getFiniteElementPtr()->getBitFieldIdCol();
499 }
boost::shared_ptr< FiniteElement > & getFiniteElementPtr() const

◆ getBitFieldIdData()

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

Get field ids on data.

Returns
Bit field ids

Definition at line 511 of file FEMultiIndices.hpp.

511 {
512 return getFiniteElementPtr()->getBitFieldIdData();
513 }

◆ getBitFieldIdRow()

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

Get field ids on rows.

Returns
Bit field ids

Definition at line 504 of file FEMultiIndices.hpp.

504 {
505 return getFiniteElementPtr()->getBitFieldIdRow();
506 }

◆ getBitNumber()

template<typename T >
unsigned int MoFEM::interface_FiniteElement< T, T >::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 518 of file FEMultiIndices.hpp.

518 {
519 return getFiniteElementPtr()->getBitNumber();
520 }

◆ getFEUId()

template<typename T >
const UId & MoFEM::interface_FiniteElement< T, T >::getFEUId ( ) const
inline

Get finite element uid.

Returns
const UId&

Definition at line 464 of file FEMultiIndices.hpp.

464 {
465 return getFiniteElementPtr()->getFEUId();
466 }

◆ getFiniteElementPtr()

template<typename T >
boost::shared_ptr< FiniteElement > & MoFEM::interface_FiniteElement< T, T >::getFiniteElementPtr ( ) const
inline

Definition at line 522 of file FEMultiIndices.hpp.

522 {
523 return boost::static_pointer_cast<T>(this->getRefElement())
524 ->getFiniteElementPtr();
525 };
boost::shared_ptr< T > & getRefElement() const

◆ getId()

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

Get finite element id.

Returns
Finite element Id

Definition at line 471 of file FEMultiIndices.hpp.

471{ return getFiniteElementPtr()->getId(); }

◆ getMeshset()

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

Get meshset containing element entities.

Returns
Meshset

Definition at line 476 of file FEMultiIndices.hpp.

476 {
477 return getFiniteElementPtr()->getMeshset();
478 }

◆ getName()

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

Get finite element name.

Returns
string

Definition at line 490 of file FEMultiIndices.hpp.

490 {
491 return getFiniteElementPtr()->getName();
492 }

◆ getNameRef()

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

Get finite element name.

Returns
string_ref

Definition at line 483 of file FEMultiIndices.hpp.

483 {
484 return getFiniteElementPtr()->getNameRef();
485 }

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