v0.8.13
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

 interface_DofEntity (const boost::shared_ptr< T > &sptr)
 
const UId getGlobalUniqueId () const
 
const UId getEntGlobalUniqueId () 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)
 
EntityHandle getEnt () const
 
int getNbDofsOnEnt () const
 
VectorAdaptor getEntFieldData () const
 
int getOrderNbDofs (int order) const
 
int getOrderNbDofsDiff (int order) const
 
ApproximationOrder getMaxOrder () const
 
UId getGlobalUniqueId () const
 
boost::shared_ptr< RefEntity > & getRefEntityPtr () const
 
boost::shared_ptr< Field > & getFieldPtr () const
 
boost::shared_ptr< FieldEntity > & getFieldEntityPtr () const
 
std::vector< ApproximationOrder > & getDofOrderMap () const
 get hash-map relating dof index on entity with its order More...
 
- Public Member Functions inherited from MoFEM::interface_Field< T >
 interface_Field (const boost::shared_ptr< T > &field_ptr)
 
 interface_Field (const interface_Field< T > &interface)
 
virtual ~interface_Field ()
 
EntityHandle getMeshset () const
 
int getCoordSysId () const
 
int getCoordSysDim (const int d=0) const
 Get dimension of general two-point tensor MoFEM::CoordSys::getDim. More...
 
MoFEMErrorCode get_E_Base (const double m[]) const
 
MoFEMErrorCode get_E_DualBase (const double m[]) const
 
MoFEMErrorCode get_e_Base (const double m[]) const
 
MoFEMErrorCode get_e_DualBase (const double m[]) const
 
EntityHandle getCoordSysMeshSet () const
 
std::string getCoordSysName () const
 
boost::string_ref getCoordSysNameRef () const
 
const BitFieldIdgetId () const
 
boost::string_ref getNameRef () const
 
std::string getName () const
 
FieldSpace getSpace () const
 
FieldApproximationBase getApproxBase () const
 
FieldCoefficientsNumber getNbOfCoeffs () const
 
unsigned int getBitNumber () const
 
boost::shared_ptr< T > & getFieldPtr () const
 
std::vector< ApproximationOrder > & getDofOrderMap (const EntityType type) const
 get hash-map relating dof index on entity with its order More...
 
- 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 ()
 
boost::shared_ptr< BasicEntityData > & getBasicDataPtr ()
 
const boost::shared_ptr< BasicEntityData > & getBasicDataPtr () const
 
EntityHandle getRefEnt () const
 
EntityType getParentEntType () const
 
EntityHandle getParentEnt () const
 
BitRefLevelgetBitRefLevelPtr () const
 
const BitRefLevelgetBitRefLevel () const
 
unsigned long int getBitRefLevelULong () const
 
EntityType getEntType () const
 
EntityID getEntId () const
 
EntityHandle getOwnerEnt () const
 
EntityHandlegetOwnerEnt ()
 
int getOwnerProc () const
 
intgetOwnerProc ()
 
int getPartProc () const
 
intgetPartProc ()
 
unsigned char getPStatus () const
 
intgetSharingProcsPtr () const
 
EntityHandlegetSharingHandlersPtr () const
 
boost::shared_ptr< T > & getRefEntityPtr () const
 

Additional Inherited Members

- Public Attributes inherited from MoFEM::interface_Field< T >
boost::shared_ptr< TsFieldPtr
 
- 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 150 of file DofsMultiIndices.hpp.

Constructor & Destructor Documentation

◆ interface_DofEntity()

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

Definition at line 152 of file DofsMultiIndices.hpp.

153  : interface_FieldEntity<T>(sptr) {}

Member Function Documentation

◆ getActive()

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

Definition at line 190 of file DofsMultiIndices.hpp.

190 { return this->sPtr->getActive(); }
boost::shared_ptr< T > sPtr

◆ getDofCoeffIdx()

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

Definition at line 185 of file DofsMultiIndices.hpp.

185  {
186  return this->sPtr->getDofCoeffIdx();
187  }
boost::shared_ptr< T > sPtr

◆ getDofEntityPtr()

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

Definition at line 193 of file DofsMultiIndices.hpp.

193  {
194  return this->sPtr;
195  }
boost::shared_ptr< T > sPtr

◆ getDofOrder()

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

Definition at line 180 of file DofsMultiIndices.hpp.

180  {
181  return this->sPtr->getDofOrder();
182  }
boost::shared_ptr< T > sPtr

◆ getEnt()

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

Definition at line 177 of file DofsMultiIndices.hpp.

177 { return this->sPtr->getEnt(); }
boost::shared_ptr< T > sPtr

◆ getEntDofIdx()

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

Definition at line 171 of file DofsMultiIndices.hpp.

171 { return this->sPtr->getEntDofIdx(); }
boost::shared_ptr< T > sPtr

◆ getEntGlobalUniqueId()

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

Definition at line 161 of file DofsMultiIndices.hpp.

161  {
162  return this->sPtr->getEntGlobalUniqueId();
163  }
boost::shared_ptr< T > sPtr

◆ getFieldData()

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

Definition at line 174 of file DofsMultiIndices.hpp.

174 { return this->sPtr->getFieldData(); }
boost::shared_ptr< T > sPtr

◆ getFieldEntityPtr()

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

Definition at line 198 of file DofsMultiIndices.hpp.

198  {
199  return this->sPtr->getFieldEntityPtr();
200  }
boost::shared_ptr< T > sPtr

◆ getGlobalUniqueId()

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

Definition at line 156 of file DofsMultiIndices.hpp.

156  {
157  return this->sPtr->getGlobalUniqueId();
158  }
boost::shared_ptr< T > sPtr

◆ getNonNonuniqueShortId()

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

Definition at line 166 of file DofsMultiIndices.hpp.

166  {
167  return this->sPtr->getNonNonuniqueShortId();
168  }
boost::shared_ptr< T > sPtr

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