v0.13.1
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
 
EntityHandle & getOwnerEnt ()
 
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...
 
EntityHandle * getSharingHandlersPtr () 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< Tinterface_type_RefEntity
 
typedef interface_RefElement< Tinterface_type_RefElement
 
- Public Attributes inherited from MoFEM::interface_RefEntity< T >
boost::shared_ptr< TsPtr
 

Detailed Description

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

Definition at line 401 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 
)

Definition at line 404 of file FEMultiIndices.hpp.

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

Member Function Documentation

◆ getBitFieldIdCol()

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

Get field ids on columns.

Returns
Bit field ids

Definition at line 444 of file FEMultiIndices.hpp.

444 {
445 return getFiniteElementPtr()->getBitFieldIdCol();
446 }
boost::shared_ptr< FiniteElement > & getFiniteElementPtr() const

◆ getBitFieldIdData()

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

Get field ids on data.

Returns
Bit field ids

Definition at line 458 of file FEMultiIndices.hpp.

458 {
459 return getFiniteElementPtr()->getBitFieldIdData();
460 }

◆ getBitFieldIdRow()

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

Get field ids on rows.

Returns
Bit field ids

Definition at line 451 of file FEMultiIndices.hpp.

451 {
452 return getFiniteElementPtr()->getBitFieldIdRow();
453 }

◆ getBitNumber()

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

465 {
466 return getFiniteElementPtr()->getBitNumber();
467 }

◆ getFEUId()

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

Get finite element uid.

Returns
const UId&

Definition at line 411 of file FEMultiIndices.hpp.

411 {
412 return getFiniteElementPtr()->getFEUId();
413 }

◆ getFiniteElementPtr()

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

Definition at line 469 of file FEMultiIndices.hpp.

469 {
470 return boost::static_pointer_cast<T>(this->getRefElement())
471 ->getFiniteElementPtr();
472 };
boost::shared_ptr< T > & getRefElement() const

◆ getId()

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

Get finite element id.

Returns
Finite element Id

Definition at line 418 of file FEMultiIndices.hpp.

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

◆ getMeshset()

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

Get meshset containing element entities.

Returns
Meshset

Definition at line 423 of file FEMultiIndices.hpp.

423 {
424 return getFiniteElementPtr()->getMeshset();
425 }

◆ getName()

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

Get finite element name.

Returns
string

Definition at line 437 of file FEMultiIndices.hpp.

437 {
438 return getFiniteElementPtr()->getName();
439 }

◆ getNameRef()

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

Get finite element name.

Returns
string_ref

Definition at line 430 of file FEMultiIndices.hpp.

430 {
431 return getFiniteElementPtr()->getNameRef();
432 }

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