v0.14.0
Public Member Functions | Public Attributes | Friends | List of all members
MoFEM::FieldEntityEntFiniteElementAdjacencyMap Struct Reference

FieldEntityEntFiniteElementAdjacencyMap of mofem finite element and entities. More...

#include <src/multi_indices/AdjacencyMultiIndices.hpp>

Collaboration diagram for MoFEM::FieldEntityEntFiniteElementAdjacencyMap:
[legend]

Public Member Functions

 FieldEntityEntFiniteElementAdjacencyMap (const boost::shared_ptr< FieldEntity > &ent_field_ptr, const boost::shared_ptr< EntFiniteElement > &ent_fe_ptr)
 
virtual ~FieldEntityEntFiniteElementAdjacencyMap ()=default
 
UId getFeUniqueId () const
 get unique iD of finite element entity More...
 
EntityHandle getFeMeshset () const
 get meshset of finite element More...
 
EntityHandle getFeHandle () const
 get finite element handle More...
 
UId getEntUniqueId () const
 get unique iD of entity on field More...
 
EntityHandle getEntMeshset () const
 get entity meshset carrying its field More...
 
EntityHandle getEntHandle () const
 get entity handle More...
 
BitFieldId getEntId () const
 get field iD More...
 
BitFEId getBitFEId () const
 get finite element iD More...
 

Public Attributes

unsigned int byWhat
 see options ByWhat More...
 
const boost::shared_ptr< FieldEntityentFieldPtr
 field entity More...
 
const boost::shared_ptr< EntFiniteElemententFePtr
 finite element entity More...
 

Friends

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

Detailed Description

FieldEntityEntFiniteElementAdjacencyMap of mofem finite element and entities.

Definition at line 18 of file AdjacencyMultiIndices.hpp.

Constructor & Destructor Documentation

◆ FieldEntityEntFiniteElementAdjacencyMap()

MoFEM::FieldEntityEntFiniteElementAdjacencyMap::FieldEntityEntFiniteElementAdjacencyMap ( const boost::shared_ptr< FieldEntity > &  ent_field_ptr,
const boost::shared_ptr< EntFiniteElement > &  ent_fe_ptr 
)

Definition at line 561 of file FieldMultiIndices.cpp.

564  : byWhat(0), entFieldPtr(ent_field_ptr), entFePtr(ent_fe_ptr) {}

◆ ~FieldEntityEntFiniteElementAdjacencyMap()

virtual MoFEM::FieldEntityEntFiniteElementAdjacencyMap::~FieldEntityEntFiniteElementAdjacencyMap ( )
virtualdefault

Member Function Documentation

◆ getBitFEId()

BitFEId MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getBitFEId ( ) const
inline

get finite element iD

Definition at line 68 of file AdjacencyMultiIndices.hpp.

68 { return entFePtr->getId(); }

◆ getEntHandle()

EntityHandle MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getEntHandle ( ) const
inline

get entity handle

Definition at line 58 of file AdjacencyMultiIndices.hpp.

58 { return entFieldPtr->getEnt(); }

◆ getEntId()

BitFieldId MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getEntId ( ) const
inline

get field iD

Definition at line 63 of file AdjacencyMultiIndices.hpp.

63 { return entFieldPtr->getId(); }

◆ getEntMeshset()

EntityHandle MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getEntMeshset ( ) const
inline

get entity meshset carrying its field

Definition at line 51 of file AdjacencyMultiIndices.hpp.

51  {
52  return entFieldPtr->getMeshset();
53  }

◆ getEntUniqueId()

UId MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getEntUniqueId ( ) const
inline

get unique iD of entity on field

Definition at line 46 of file AdjacencyMultiIndices.hpp.

46 { return entFieldPtr->getLocalUniqueId(); }

◆ getFeHandle()

EntityHandle MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getFeHandle ( ) const
inline

get finite element handle

Definition at line 41 of file AdjacencyMultiIndices.hpp.

41 { return entFePtr->getEnt(); }

◆ getFeMeshset()

EntityHandle MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getFeMeshset ( ) const
inline

get meshset of finite element

Definition at line 36 of file AdjacencyMultiIndices.hpp.

36 { return entFePtr->getMeshset(); }

◆ getFeUniqueId()

UId MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getFeUniqueId ( ) const
inline

get unique iD of finite element entity

Definition at line 31 of file AdjacencyMultiIndices.hpp.

31 { return entFePtr->getLocalUniqueId(); }

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 566 of file FieldMultiIndices.cpp.

567  {
568  os << "byWhat " << std::bitset<3>(e.byWhat) << " " << *e.entFieldPtr
569  << std::endl
570  << *e.entFePtr->getFiniteElementPtr();
571  return os;
572 }

Member Data Documentation

◆ byWhat

unsigned int MoFEM::FieldEntityEntFiniteElementAdjacencyMap::byWhat

see options ByWhat

Definition at line 19 of file AdjacencyMultiIndices.hpp.

◆ entFePtr

const boost::shared_ptr<EntFiniteElement> MoFEM::FieldEntityEntFiniteElementAdjacencyMap::entFePtr

finite element entity

Definition at line 21 of file AdjacencyMultiIndices.hpp.

◆ entFieldPtr

const boost::shared_ptr<FieldEntity> MoFEM::FieldEntityEntFiniteElementAdjacencyMap::entFieldPtr

field entity

Definition at line 20 of file AdjacencyMultiIndices.hpp.


The documentation for this struct was generated from the following files:
MoFEM::FieldEntityEntFiniteElementAdjacencyMap::byWhat
unsigned int byWhat
see options ByWhat
Definition: AdjacencyMultiIndices.hpp:19
MoFEM::FieldEntityEntFiniteElementAdjacencyMap::entFePtr
const boost::shared_ptr< EntFiniteElement > entFePtr
finite element entity
Definition: AdjacencyMultiIndices.hpp:21
MoFEM::FieldEntityEntFiniteElementAdjacencyMap::entFieldPtr
const boost::shared_ptr< FieldEntity > entFieldPtr
field entity
Definition: AdjacencyMultiIndices.hpp:20