v0.13.1
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
 
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< 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 337 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 
)

Definition at line 338 of file FEMultiIndices.hpp.

340 : interface_RefElement<REFENT>(ref_ents_ptr), sFiniteElementPtr(fe_ptr){};
boost::shared_ptr< FE > sFiniteElementPtr

◆ ~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

Get field ids on columns.

Returns
Bit field ids

Definition at line 380 of file FEMultiIndices.hpp.

380 {
381 return getFiniteElementPtr()->getBitFieldIdCol();
382 }
boost::shared_ptr< FE > & getFiniteElementPtr() const

◆ getBitFieldIdData()

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

Get field ids on data.

Returns
Bit field ids

Definition at line 394 of file FEMultiIndices.hpp.

394 {
395 return getFiniteElementPtr()->getBitFieldIdData();
396 }

◆ getBitFieldIdRow()

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

Get field ids on rows.

Returns
Bit field ids

Definition at line 387 of file FEMultiIndices.hpp.

387 {
388 return getFiniteElementPtr()->getBitFieldIdRow();
389 }

◆ getBitNumber()

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

401 {
402 return getFiniteElementPtr()->getBitNumber();
403 }

◆ getFEUId()

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

Get finite element uid.

Returns
const UId&

Definition at line 347 of file FEMultiIndices.hpp.

347 {
348 return getFiniteElementPtr()->getFEUId();
349 }

◆ getFiniteElementPtr()

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

Definition at line 405 of file FEMultiIndices.hpp.

405 {
406 return sFiniteElementPtr;
407 }

◆ getId()

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

Get finite element id.

Returns
Finite element Id

Definition at line 354 of file FEMultiIndices.hpp.

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

◆ getMeshset()

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

Get meshset containing element entities.

Returns
Meshset

Definition at line 359 of file FEMultiIndices.hpp.

359 {
360 return getFiniteElementPtr()->getMeshset();
361 }

◆ getName()

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

Get finite element name.

Returns
string

Definition at line 373 of file FEMultiIndices.hpp.

373 {
374 return getFiniteElementPtr()->getName();
375 }

◆ getNameRef()

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

Get finite element name.

Returns
string_ref

Definition at line 366 of file FEMultiIndices.hpp.

366 {
367 return getFiniteElementPtr()->getNameRef();
368 }

Member Data Documentation

◆ sFiniteElementPtr

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

Definition at line 410 of file FEMultiIndices.hpp.


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