v0.8.16
Public Types | Public Member Functions | Friends | List of all members
MoFEM::FEDofEntity Struct Reference

keeps information about indexed dofs for the finite element More...

#include <src/multi_indices/DofsMultiIndices.hpp>

Inheritance diagram for MoFEM::FEDofEntity:
[legend]
Collaboration diagram for MoFEM::FEDofEntity:
[legend]

Public Types

typedef interface_Field< DofEntityinterface_type_Field
 
typedef interface_DofEntity< DofEntityinterface_type_DofEntity
 
typedef interface_RefEntity< DofEntityinterface_type_RefEntity
 

Public Member Functions

 FEDofEntity (const boost::shared_ptr< SideNumber > &side_number_ptr, const boost::shared_ptr< DofEntity > &dof_ptr)
 
 FEDofEntity (const boost::tuple< const boost::shared_ptr< SideNumber > &, const boost::shared_ptr< DofEntity > &> &t)
 
- Public Member Functions inherited from MoFEM::BaseFEDofEntity
 BaseFEDofEntity (const boost::shared_ptr< SideNumber > &side_number_ptr)
 
int getSideNumber ()
 
- Public Member Functions inherited from MoFEM::interface_DofEntity< DofEntity >
 interface_DofEntity (const boost::shared_ptr< DofEntity > &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< DofEntity >
 interface_FieldEntity (const boost::shared_ptr< DofEntity > &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< DofEntity >
 interface_Field (const boost::shared_ptr< DofEntity > &field_ptr)
 
 interface_Field (const interface_Field< DofEntity > &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< DofEntity > & 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< DofEntity >
 interface_RefEntity (const boost::shared_ptr< DofEntity > &sptr)
 
 interface_RefEntity (const interface_RefEntity< DofEntity > &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< DofEntity > & getRefEntityPtr () const
 

Friends

std::ostream & operator<< (std::ostream &os, const FEDofEntity &e)
 

Additional Inherited Members

- Public Attributes inherited from MoFEM::BaseFEDofEntity
boost::shared_ptr< SideNumber > sideNumberPtr
 
- Public Attributes inherited from MoFEM::interface_Field< DofEntity >
boost::shared_ptr< DofEntitysFieldPtr
 
- Public Attributes inherited from MoFEM::interface_RefEntity< DofEntity >
boost::shared_ptr< DofEntitysPtr
 

Detailed Description

keeps information about indexed dofs for the finite element

Definition at line 303 of file DofsMultiIndices.hpp.

Member Typedef Documentation

◆ interface_type_DofEntity

Definition at line 305 of file DofsMultiIndices.hpp.

◆ interface_type_Field

Definition at line 304 of file DofsMultiIndices.hpp.

◆ interface_type_RefEntity

Definition at line 306 of file DofsMultiIndices.hpp.

Constructor & Destructor Documentation

◆ FEDofEntity() [1/2]

MoFEM::FEDofEntity::FEDofEntity ( const boost::shared_ptr< SideNumber > &  side_number_ptr,
const boost::shared_ptr< DofEntity > &  dof_ptr 
)

Definition at line 115 of file DofsMultiIndices.cpp.

117  : BaseFEDofEntity(side_number_ptr), interface_DofEntity<DofEntity>(
118  dof_ptr) {}
BaseFEDofEntity(const boost::shared_ptr< SideNumber > &side_number_ptr)

◆ FEDofEntity() [2/2]

MoFEM::FEDofEntity::FEDofEntity ( const boost::tuple< const boost::shared_ptr< SideNumber > &, const boost::shared_ptr< DofEntity > &> &  t)

Definition at line 110 of file DofsMultiIndices.cpp.

113  : BaseFEDofEntity(t.get<0>()), interface_DofEntity<DofEntity>(t.get<1>()) {}
BaseFEDofEntity(const boost::shared_ptr< SideNumber > &side_number_ptr)

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const FEDofEntity e 
)
friend

Definition at line 120 of file DofsMultiIndices.cpp.

120  {
121  os << "local dof FiniteElement idx "
122  << "side_number " << (int)e.sideNumberPtr->side_number << " "
123  << "sense " << (int)e.sideNumberPtr->sense << " " << *e.sFieldPtr;
124  return os;
125 }

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