v0.14.0
Public Member Functions | List of all members
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. More...
 
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...
 
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
 Get the Side number. More...
 
const boost::shared_ptr< BasicEntityDatagetBasicDataPtr () const
 Get pointer to basic data struture. More...
 
EntityHandle getEnt () const
 Get the entity handle. More...
 
EntityType getParentEntType () const
 Get patent entity. More...
 
EntityHandle getParentEnt () const
 
BitRefLevelgetBitRefLevelPtr () const
 Get pointer to bit ref level tag. More...
 
const BitRefLevelgetBitRefLevel () const
 
unsigned long int getBitRefLevelULong () const
 Get entity ref bit refinement as ulong. More...
 
EntityType getEntType () const
 Get entity type. More...
 
int getEntDimension () const
 Get the Ent Dimension. More...
 
const char * getEntTypeName () const
 Get the Ent Type Name. More...
 
EntityID getEntId () const
 get entity id More...
 
EntityHandle getOwnerEnt () const
 
EntityHandlegetOwnerEnt ()
 
int getOwnerProc () const
 
int getPartProc () const
 
int * getPartProcPtr () const
 Get pointer to partition tag. More...
 
unsigned char getPStatus () const
 
int * getSharingProcsPtr () const
 get shared processors More...
 
EntityHandlegetSharingHandlersPtr () const
 get sharid entity handlers More...
 
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 405 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 408 of file FEMultiIndices.hpp.

410  : 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 448 of file FEMultiIndices.hpp.

448  {
449  return getFiniteElementPtr()->getBitFieldIdCol();
450  }

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

462  {
463  return getFiniteElementPtr()->getBitFieldIdData();
464  }

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

455  {
456  return getFiniteElementPtr()->getBitFieldIdRow();
457  }

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

469  {
470  return getFiniteElementPtr()->getBitNumber();
471  }

◆ getFEUId()

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

Get finite element uid.

Returns
const UId&

Definition at line 415 of file FEMultiIndices.hpp.

415  {
416  return getFiniteElementPtr()->getFEUId();
417  }

◆ getFiniteElementPtr()

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

Definition at line 473 of file FEMultiIndices.hpp.

473  {
474  return boost::static_pointer_cast<T>(this->getRefElement())
475  ->getFiniteElementPtr();
476  };

◆ getId()

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

Get finite element id.

Returns
Finite element Id

Definition at line 422 of file FEMultiIndices.hpp.

422 { 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 427 of file FEMultiIndices.hpp.

427  {
428  return getFiniteElementPtr()->getMeshset();
429  }

◆ getName()

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

Get finite element name.

Returns
string

Definition at line 441 of file FEMultiIndices.hpp.

441  {
442  return getFiniteElementPtr()->getName();
443  }

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

434  {
435  return getFiniteElementPtr()->getNameRef();
436  }

The documentation for this struct was generated from the following file:
MoFEM::interface_FiniteElement< T, T >::getFiniteElementPtr
boost::shared_ptr< FiniteElement > & getFiniteElementPtr() const
Definition: FEMultiIndices.hpp:473
MoFEM::interface_RefElement::getRefElement
boost::shared_ptr< T > & getRefElement() const
Definition: RefElementMultiIndices.hpp:161