v0.14.0
Public Member Functions | List of all members
MoFEM::interface_DofEntity< T > Struct Template Reference

Interface to DofEntity. More...

#include <src/multi_indices/DofsMultiIndices.hpp>

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

Public Member Functions

virtual ~interface_DofEntity ()=default
 
 interface_DofEntity (const boost::shared_ptr< T > &sptr)
 
UId getGlobalUniqueId () const
 
const UIdgetEntGlobalUniqueId () const
 
UId getLocalUniqueId () const
 
const UIdgetEntLocalUniqueId () const
 
ShortId getNonNonuniqueShortId () const
 
DofIdx getEntDofIdx () const
 
FieldDatagetFieldData () const
 
EntityHandle getEnt () const
 
ApproximationOrder getDofOrder () const
 
FieldCoefficientsNumber getDofCoeffIdx () const
 
char getActive () const
 
boost::shared_ptr< DofEntity > & getDofEntityPtr () const
 
boost::shared_ptr< FieldEntity > & getFieldEntityPtr () const
 
- Public Member Functions inherited from MoFEM::interface_FieldEntity< T >
 interface_FieldEntity (const boost::shared_ptr< T > &sptr)
 
int getNbDofsOnEnt () const
 
VectorAdaptor getEntFieldData () const
 
int getOrderNbDofs (ApproximationOrder order) const
 
int getOrderNbDofsDiff (ApproximationOrder order) const
 
ApproximationOrder getMaxOrder () const
 
UId getGlobalUniqueId () const
 
UIdgetLocalUniqueId () const
 
boost::shared_ptr< RefEntity > & getRefEntityPtr () const
 
boost::shared_ptr< FieldEntity > & getFieldEntityPtr () const
 
const std::array< int, MAX_DOFS_ON_ENTITY > & getDofOrderMap () const
 get hash-map relating dof index on entity with its order More...
 
template<typename S = EntityStorage>
boost::shared_ptr< S > getSharedStoragePtr () const
 Get the Weak Storage pointer. More...
 
boost::weak_ptr< EntityStorage > & getWeakStoragePtr () const
 
- Public Member Functions inherited from MoFEM::interface_Field< T, T >
 interface_Field (const boost::shared_ptr< T > &ptr)
 
EntityHandle getMeshset () const
 
const BitFieldIdgetId () const
 
boost::string_ref getNameRef () const
 
std::string getName () const
 
FieldSpace getSpace () const
 
auto getSpaceName () const
 
FieldApproximationBase getApproxBase () const
 
auto getApproxBaseName () const
 
FieldCoefficientsNumber getNbOfCoeffs () const
 
FieldBitNumber getBitNumber () const
 
std::array< ApproximationOrder, MAX_DOFS_ON_ENTITY > & getDofOrderMap (const EntityType type) const
 get hash-map relating dof index on entity with its order More...
 
const FieldgetFieldRawPtr () const
 
- Public Member Functions inherited from MoFEM::interface_FieldImpl< T, T >
 interface_FieldImpl (const boost::shared_ptr< T > &field_ptr, const boost::shared_ptr< T > &ref_ents_ptr)
 
virtual ~interface_FieldImpl ()=default
 
- 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_Field< T, T >
using interface_type_FieldImpl = interface_FieldImpl< T, T >
 
- Public Types inherited from MoFEM::interface_FieldImpl< T, T >
using interface_type_RefEntity = interface_RefEntity< T >
 
- Public Attributes inherited from MoFEM::interface_RefEntity< T >
boost::shared_ptr< T > sPtr
 

Detailed Description

template<typename T>
struct MoFEM::interface_DofEntity< T >

Interface to DofEntity.

In MoFEM DOFs classes (and Ent and Finite Element classes) are derived by interface, i.e. not class is derived but interface to it.

Definition at line 155 of file DofsMultiIndices.hpp.

Constructor & Destructor Documentation

◆ ~interface_DofEntity()

template<typename T >
virtual MoFEM::interface_DofEntity< T >::~interface_DofEntity ( )
virtualdefault

◆ interface_DofEntity()

template<typename T >
MoFEM::interface_DofEntity< T >::interface_DofEntity ( const boost::shared_ptr< T > &  sptr)
inline

Definition at line 159 of file DofsMultiIndices.hpp.

160  : interface_FieldEntity<T>(sptr) {}

Member Function Documentation

◆ getActive()

template<typename T >
char MoFEM::interface_DofEntity< T >::getActive ( ) const
inline
Returns
return true if dof is active

Definition at line 205 of file DofsMultiIndices.hpp.

205 { return this->sPtr->getActive(); }

◆ getDofCoeffIdx()

template<typename T >
FieldCoefficientsNumber MoFEM::interface_DofEntity< T >::getDofCoeffIdx ( ) const
inline
Returns
get dof coefficient index

Definition at line 200 of file DofsMultiIndices.hpp.

200  {
201  return this->sPtr->getDofCoeffIdx();
202  }

◆ getDofEntityPtr()

template<typename T >
boost::shared_ptr<DofEntity>& MoFEM::interface_DofEntity< T >::getDofEntityPtr ( ) const
inline
Returns
get pointer to dof data structure

Definition at line 208 of file DofsMultiIndices.hpp.

208  {
209  return this->sPtr;
210  }

◆ getDofOrder()

template<typename T >
ApproximationOrder MoFEM::interface_DofEntity< T >::getDofOrder ( ) const
inline
Returns
get dof approximation order

Definition at line 195 of file DofsMultiIndices.hpp.

195  {
196  return this->sPtr->getDofOrder();
197  }

◆ getEnt()

template<typename T >
EntityHandle MoFEM::interface_DofEntity< T >::getEnt ( ) const
inline
Returns
return entity handle

Definition at line 192 of file DofsMultiIndices.hpp.

192 { return this->sPtr->getEnt(); }

◆ getEntDofIdx()

template<typename T >
DofIdx MoFEM::interface_DofEntity< T >::getEntDofIdx ( ) const
inline
Returns
return index of dof on the entity

Definition at line 186 of file DofsMultiIndices.hpp.

186 { return this->sPtr->getEntDofIdx(); }

◆ getEntGlobalUniqueId()

template<typename T >
const UId& MoFEM::interface_DofEntity< T >::getEntGlobalUniqueId ( ) const
inline
Returns
return entity unique id

Definition at line 168 of file DofsMultiIndices.hpp.

168  {
169  return this->sPtr->getEntGlobalUniqueId();
170  }

◆ getEntLocalUniqueId()

template<typename T >
const UId& MoFEM::interface_DofEntity< T >::getEntLocalUniqueId ( ) const
inline
Returns
return entity unique id

Definition at line 176 of file DofsMultiIndices.hpp.

176  {
177  return this->sPtr->getEntLocalUniqueId();
178  }

◆ getFieldData()

template<typename T >
FieldData& MoFEM::interface_DofEntity< T >::getFieldData ( ) const
inline
Returns
return data on dof

Definition at line 189 of file DofsMultiIndices.hpp.

189 { return this->sPtr->getFieldData(); }

◆ getFieldEntityPtr()

template<typename T >
boost::shared_ptr<FieldEntity>& MoFEM::interface_DofEntity< T >::getFieldEntityPtr ( ) const
inline
Returns
get pioneer do dof's entity data structure

Definition at line 213 of file DofsMultiIndices.hpp.

213  {
214  return this->sPtr->getFieldEntityPtr();
215  }

◆ getGlobalUniqueId()

template<typename T >
UId MoFEM::interface_DofEntity< T >::getGlobalUniqueId ( ) const
inline
Returns
return dof unique id

Definition at line 163 of file DofsMultiIndices.hpp.

163  {
164  return this->sPtr->getGlobalUniqueId();
165  }

◆ getLocalUniqueId()

template<typename T >
UId MoFEM::interface_DofEntity< T >::getLocalUniqueId ( ) const
inline
Returns
return dof unique id

Definition at line 173 of file DofsMultiIndices.hpp.

173 { return this->sPtr->getLocalUniqueId(); }

◆ getNonNonuniqueShortId()

template<typename T >
ShortId MoFEM::interface_DofEntity< T >::getNonNonuniqueShortId ( ) const
inline
Returns
return short id (used by data recorder)

Definition at line 181 of file DofsMultiIndices.hpp.

181  {
182  return this->sPtr->getNonNonuniqueShortId();
183  }

The documentation for this struct was generated from the following file:
MoFEM::interface_RefEntity::sPtr
boost::shared_ptr< T > sPtr
Definition: RefEntsMultiIndices.hpp:711