v0.14.0
Loading...
Searching...
No Matches
Public Member Functions | Private 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 Member Functions

 FENumeredDofEntity ()=delete
 
- Public Member Functions inherited from MoFEM::NumeredDofEntity
virtual ~NumeredDofEntity ()=default
 
DofIdx getDofIdx () const
 
DofIdx getPetscGlobalDofIdx () const
 
DofIdx getPetscLocalDofIdx () const
 
unsigned int getPart () const
 
bool getHasLocalIndex () const
 
 NumeredDofEntity (const boost::shared_ptr< DofEntity > &dof_entity_ptr, const int dof_idx=-1, const int petsc_gloabl_dof_idx=-1, const int petsc_local_dof_idx=-1, const int part=-1)
 
- Public Member Functions inherited from MoFEM::interface_DofEntity< DofEntity >
virtual ~interface_DofEntity ()=default
 
 interface_DofEntity (const boost::shared_ptr< DofEntity > &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
 
const boost::shared_ptr< BasicEntityDatagetBasicDataPtr () const
 
EntityHandle getEnt () const
 
EntityType getParentEntType () const
 
EntityHandle getParentEnt () const
 
BitRefLevelgetBitRefLevelPtr () const
 
const BitRefLevelgetBitRefLevel () const
 
unsigned long int getBitRefLevelULong () const
 
EntityType getEntType () const
 
int getEntDimension () const
 
const char * getEntTypeName () const
 
EntityID getEntId () const
 
EntityHandle getOwnerEnt () const
 
EntityHandlegetOwnerEnt ()
 
int getOwnerProc () const
 
int getPartProc () const
 
int * getPartProcPtr () const
 
unsigned char getPStatus () const
 
int * getSharingProcsPtr () const
 
EntityHandlegetSharingHandlersPtr () const
 
boost::shared_ptr< T > & getRefEntityPtr () const
 

Private Member Functions

 NumeredDofEntity (const boost::shared_ptr< DofEntity > &dof_entity_ptr, const int dof_idx=-1, const int petsc_gloabl_dof_idx=-1, const int petsc_local_dof_idx=-1, const int part=-1)
 

Friends

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

Additional Inherited Members

- Public Types inherited from MoFEM::NumeredDofEntity
using interface_type_Field = interface_FieldImpl< DofEntity, DofEntity >
 
using interface_type_FieldEntity = interface_FieldEntity< DofEntity >
 
using interface_type_DofEntity = interface_DofEntity< DofEntity >
 
using interface_type_RefEntity = interface_RefEntity< DofEntity >
 
- 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::NumeredDofEntity
DofIdx dofIdx
 
DofIdx petscGloablDofIdx
 
DofIdx petscLocalDofIdx
 
unsigned int pArt
 
- Public Attributes inherited from MoFEM::interface_RefEntity< T >
boost::shared_ptr< TsPtr
 

Detailed Description

keeps information about indexed dofs for the finite element

Definition at line 283 of file DofsMultiIndices.hpp.

Constructor & Destructor Documentation

◆ FENumeredDofEntity()

MoFEM::FENumeredDofEntity::FENumeredDofEntity ( )
delete

Member Function Documentation

◆ NumeredDofEntity()

MoFEM::NumeredDofEntity::NumeredDofEntity ( const boost::shared_ptr< DofEntity > &  dof_entity_ptr,
const int  dof_idx = -1,
const int  petsc_gloabl_dof_idx = -1,
const int  petsc_local_dof_idx = -1,
const int  part = -1 
)
private

Definition at line 257 of file DofsMultiIndices.cpp.

72 : interface_DofEntity<DofEntity>(dof_entity_ptr), dofIdx(dof_idx),
73 petscGloablDofIdx(petsc_gloabl_dof_idx),
74 petscLocalDofIdx(petsc_local_dof_idx), pArt(part) {
75}

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 93 of file DofsMultiIndices.cpp.

93 {
94 os << "local dof FiniteElement idx "
95 << "side_number " << (int)e.getSideNumberPtr()->side_number << " "
96 << "sense " << (int)e.getSideNumberPtr()->sense << " "
97 << *e.getFieldEntityPtr();
98 return os;
99}

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