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

Interface to FieldEntityinterface to FieldEntity. More...

#include <src/multi_indices/EntsMultiIndices.hpp>

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

Public Member Functions

 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_FieldEntity< T >

Interface to FieldEntity

interface to FieldEntity.

Definition at line 704 of file EntsMultiIndices.hpp.

Constructor & Destructor Documentation

◆ interface_FieldEntity()

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

Definition at line 707 of file EntsMultiIndices.hpp.

708  : interface_Field<T>(sptr), interface_RefEntity<T>(sptr) {}

Member Function Documentation

◆ getDofOrderMap()

template<typename T>
std::vector<ApproximationOrder>& MoFEM::interface_FieldEntity< T >::getDofOrderMap ( ) const

get hash-map relating dof index on entity with its order

DOFs of given field are indexed on entity of the same type, same space, approximation base and number of coefficients, are sorted in the way.

Definition at line 770 of file EntsMultiIndices.hpp.

770  {
771  return this->sPtr->getDofOrderMap();
772  }
boost::shared_ptr< T > sPtr

◆ getEnt()

template<typename T>
EntityHandle MoFEM::interface_FieldEntity< T >::getEnt ( ) const
Returns
get entity handle

Definition at line 711 of file EntsMultiIndices.hpp.

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

◆ getEntFieldData()

template<typename T>
VectorAdaptor MoFEM::interface_FieldEntity< T >::getEntFieldData ( ) const
Returns
get field data on entity

Definition at line 717 of file EntsMultiIndices.hpp.

717  {
718  return this->sPtr->getEntFieldData();
719  }
boost::shared_ptr< T > sPtr

◆ getFieldEntityPtr()

template<typename T>
boost::shared_ptr<FieldEntity>& MoFEM::interface_FieldEntity< T >::getFieldEntityPtr ( ) const
Returns
get pointer to mofem entity data structure

Definition at line 752 of file EntsMultiIndices.hpp.

752  {
753  return this->sPtr;
754  };
boost::shared_ptr< T > sPtr

◆ getFieldPtr()

template<typename T>
boost::shared_ptr<Field>& MoFEM::interface_FieldEntity< T >::getFieldPtr ( ) const
Returns
get pointer to field data structure

Definition at line 747 of file EntsMultiIndices.hpp.

747  {
748  return this->sFieldPtr->getFieldPtr();
749  }
boost::shared_ptr< T > sFieldPtr

◆ getGlobalUniqueId()

template<typename T>
UId MoFEM::interface_FieldEntity< T >::getGlobalUniqueId ( ) const
Returns
get entity UId

Definition at line 737 of file EntsMultiIndices.hpp.

737  {
738  return this->sPtr->getGlobalUniqueId();
739  }
boost::shared_ptr< T > sPtr

◆ getMaxOrder()

template<typename T>
ApproximationOrder MoFEM::interface_FieldEntity< T >::getMaxOrder ( ) const
Returns
get maximal order on entity

Definition at line 732 of file EntsMultiIndices.hpp.

732  {
733  return this->sPtr->getMaxOrder();
734  }
boost::shared_ptr< T > sPtr

◆ getNbDofsOnEnt()

template<typename T>
int MoFEM::interface_FieldEntity< T >::getNbDofsOnEnt ( ) const
Returns
get number of dofs on entity

Definition at line 714 of file EntsMultiIndices.hpp.

714 { return this->sPtr->getNbDofsOnEnt(); }
boost::shared_ptr< T > sPtr

◆ getOrderNbDofs()

template<typename T>
int MoFEM::interface_FieldEntity< T >::getOrderNbDofs ( int  order) const
Returns
get number of DOFs for given order

Definition at line 722 of file EntsMultiIndices.hpp.

722  {
723  return this->sPtr->getOrderNbDofs(order);
724  }
boost::shared_ptr< T > sPtr

◆ getOrderNbDofsDiff()

template<typename T>
int MoFEM::interface_FieldEntity< T >::getOrderNbDofsDiff ( int  order) const
Returns
get increase of DOFs by increase to this order

Definition at line 727 of file EntsMultiIndices.hpp.

727  {
728  return this->sPtr->getOrderNbDofsDiff(order);
729  }
boost::shared_ptr< T > sPtr

◆ getRefEntityPtr()

template<typename T>
boost::shared_ptr<RefEntity>& MoFEM::interface_FieldEntity< T >::getRefEntityPtr ( ) const
Returns
return pointer to reference entity data structure

Definition at line 742 of file EntsMultiIndices.hpp.

742  {
743  return this->sPtr->getRefEntityPtr();
744  }
boost::shared_ptr< T > sPtr

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