v0.14.0
Public Member Functions | Private Attributes | List of all members
MoFEM::interface_FiniteElement< FE, REFENT > Struct Template Reference

#include <src/multi_indices/FEMultiIndices.hpp>

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

Public Member Functions

 interface_FiniteElement (const boost::shared_ptr< FE > fe_ptr, const boost::shared_ptr< REFENT > ref_ents_ptr)
 
virtual ~interface_FiniteElement ()=default
 
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< FE > & getFiniteElementPtr () const
 
- Public Member Functions inherited from MoFEM::interface_RefElement< REFENT >
 interface_RefElement (const boost::shared_ptr< REFENT > &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< REFENT > & getRefElement () const
 
- Public Member Functions inherited from MoFEM::interface_RefEntity< REFENT >
 interface_RefEntity (const boost::shared_ptr< REFENT > &sptr)
 
 interface_RefEntity (const interface_RefEntity< REFENT > &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< REFENT > & getRefEntityPtr () const
 

Private Attributes

boost::shared_ptr< FE > sFiniteElementPtr
 

Additional Inherited Members

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

Detailed Description

template<typename FE, typename REFENT>
struct MoFEM::interface_FiniteElement< FE, REFENT >

Definition at line 328 of file FEMultiIndices.hpp.

Constructor & Destructor Documentation

◆ interface_FiniteElement()

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

Definition at line 329 of file FEMultiIndices.hpp.

331  : interface_RefElement<REFENT>(ref_ents_ptr), sFiniteElementPtr(fe_ptr){};

◆ ~interface_FiniteElement()

template<typename FE , typename REFENT >
virtual MoFEM::interface_FiniteElement< FE, REFENT >::~interface_FiniteElement ( )
virtualdefault

Member Function Documentation

◆ getBitFieldIdCol()

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

Get field ids on columns.

Returns
Bit field ids

Definition at line 371 of file FEMultiIndices.hpp.

371  {
372  return getFiniteElementPtr()->getBitFieldIdCol();
373  }

◆ getBitFieldIdData()

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

Get field ids on data.

Returns
Bit field ids

Definition at line 385 of file FEMultiIndices.hpp.

385  {
386  return getFiniteElementPtr()->getBitFieldIdData();
387  }

◆ getBitFieldIdRow()

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

Get field ids on rows.

Returns
Bit field ids

Definition at line 378 of file FEMultiIndices.hpp.

378  {
379  return getFiniteElementPtr()->getBitFieldIdRow();
380  }

◆ getBitNumber()

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

392  {
393  return getFiniteElementPtr()->getBitNumber();
394  }

◆ getFEUId()

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

Get finite element uid.

Returns
const UId&

Definition at line 338 of file FEMultiIndices.hpp.

338  {
339  return getFiniteElementPtr()->getFEUId();
340  }

◆ getFiniteElementPtr()

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

Definition at line 396 of file FEMultiIndices.hpp.

396  {
397  return sFiniteElementPtr;
398  }

◆ getId()

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

Get finite element id.

Returns
Finite element Id

Definition at line 345 of file FEMultiIndices.hpp.

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

◆ getMeshset()

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

Get meshset containing element entities.

Returns
Meshset

Definition at line 350 of file FEMultiIndices.hpp.

350  {
351  return getFiniteElementPtr()->getMeshset();
352  }

◆ getName()

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

Get finite element name.

Returns
string

Definition at line 364 of file FEMultiIndices.hpp.

364  {
365  return getFiniteElementPtr()->getName();
366  }

◆ getNameRef()

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

Get finite element name.

Returns
string_ref

Definition at line 357 of file FEMultiIndices.hpp.

357  {
358  return getFiniteElementPtr()->getNameRef();
359  }

Member Data Documentation

◆ sFiniteElementPtr

template<typename FE , typename REFENT >
boost::shared_ptr<FE> MoFEM::interface_FiniteElement< FE, REFENT >::sFiniteElementPtr
mutableprivate

Definition at line 401 of file FEMultiIndices.hpp.


The documentation for this struct was generated from the following file:
MoFEM::interface_FiniteElement::sFiniteElementPtr
boost::shared_ptr< FE > sFiniteElementPtr
Definition: FEMultiIndices.hpp:401
MoFEM::interface_FiniteElement::getFiniteElementPtr
boost::shared_ptr< FE > & getFiniteElementPtr() const
Definition: FEMultiIndices.hpp:396