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

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

#include <src/multi_indices/DofsMultiIndices.hpp>

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

Public Types

typedef interface_Field< NumeredDofEntityinterface_type_Field
 
typedef interface_DofEntity< NumeredDofEntityinterface_type_DofEntity
 
typedef interface_RefEntity< NumeredDofEntityinterface_type_RefEntity
 
typedef interface_NumeredDofEntity< NumeredDofEntityinterface_type_NumeredDofEntity
 

Public Member Functions

 FENumeredDofEntity (const boost::shared_ptr< SideNumber > &side_number_ptr, const boost::shared_ptr< NumeredDofEntity > &dof_ptr)
 
 FENumeredDofEntity (const boost::tuple< const boost::shared_ptr< SideNumber > &, const boost::shared_ptr< NumeredDofEntity > &> &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_NumeredDofEntity< NumeredDofEntity >
 interface_NumeredDofEntity (const boost::shared_ptr< NumeredDofEntity > &sptr)
 
DofIdx getDofIdx () const
 
DofIdx getPetscGlobalDofIdx () const
 
DofIdx getPetscLocalDofIdx () const
 
unsigned int getPart () const
 
bool getHasLocalIndex () const
 
boost::shared_ptr< NumeredDofEntity > & getNumeredDofEntityPtr () const
 
- Public Member Functions inherited from MoFEM::interface_DofEntity< NumeredDofEntity >
 interface_DofEntity (const boost::shared_ptr< NumeredDofEntity > &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< NumeredDofEntity >
 interface_FieldEntity (const boost::shared_ptr< NumeredDofEntity > &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< NumeredDofEntity >
 interface_Field (const boost::shared_ptr< NumeredDofEntity > &field_ptr)
 
 interface_Field (const interface_Field< NumeredDofEntity > &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< NumeredDofEntity > & 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< NumeredDofEntity >
 interface_RefEntity (const boost::shared_ptr< NumeredDofEntity > &sptr)
 
 interface_RefEntity (const interface_RefEntity< NumeredDofEntity > &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< NumeredDofEntity > & getRefEntityPtr () const
 

Friends

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

Additional Inherited Members

- Public Attributes inherited from MoFEM::BaseFEDofEntity
boost::shared_ptr< SideNumber > sideNumberPtr
 
- Public Attributes inherited from MoFEM::interface_Field< NumeredDofEntity >
boost::shared_ptr< NumeredDofEntitysFieldPtr
 
- Public Attributes inherited from MoFEM::interface_RefEntity< NumeredDofEntity >
boost::shared_ptr< NumeredDofEntitysPtr
 

Detailed Description

keeps information about indexed dofs for the finite element

Definition at line 313 of file DofsMultiIndices.hpp.

Member Typedef Documentation

◆ interface_type_DofEntity

Definition at line 316 of file DofsMultiIndices.hpp.

◆ interface_type_Field

Definition at line 315 of file DofsMultiIndices.hpp.

◆ interface_type_NumeredDofEntity

Definition at line 319 of file DofsMultiIndices.hpp.

◆ interface_type_RefEntity

Definition at line 317 of file DofsMultiIndices.hpp.

Constructor & Destructor Documentation

◆ FENumeredDofEntity() [1/2]

MoFEM::FENumeredDofEntity::FENumeredDofEntity ( const boost::shared_ptr< SideNumber > &  side_number_ptr,
const boost::shared_ptr< NumeredDofEntity > &  dof_ptr 
)

Definition at line 127 of file DofsMultiIndices.cpp.

130  : BaseFEDofEntity(side_number_ptr),
131  interface_NumeredDofEntity<NumeredDofEntity>(dof_ptr) {}
BaseFEDofEntity(const boost::shared_ptr< SideNumber > &side_number_ptr)

◆ FENumeredDofEntity() [2/2]

MoFEM::FENumeredDofEntity::FENumeredDofEntity ( const boost::tuple< const boost::shared_ptr< SideNumber > &, const boost::shared_ptr< NumeredDofEntity > &> &  t)

Definition at line 133 of file DofsMultiIndices.cpp.

136  : BaseFEDofEntity(t.get<0>()), interface_NumeredDofEntity<NumeredDofEntity>(
137  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 FENumeredDofEntity e 
)
friend

Definition at line 139 of file DofsMultiIndices.cpp.

139  {
140  os << "local dof FiniteElement idx "
141  << "side_number " << (int)e.sideNumberPtr->side_number << " "
142  << "sense " << (int)e.sideNumberPtr->sense << " " << *e.sFieldPtr;
143  return os;
144 }

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