v0.9.1
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>

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 28 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 290 of file FieldMultiIndices.cpp.

293  : byWhat(0), entFieldPtr(ent_field_ptr), entFePtr(ent_fe_ptr) {}
const boost::shared_ptr< FieldEntity > entFieldPtr
field entity
const boost::shared_ptr< EntFiniteElement > entFePtr
finite element entity

◆ ~FieldEntityEntFiniteElementAdjacencyMap()

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

Member Function Documentation

◆ getBitFEId()

BitFEId MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getBitFEId ( ) const

get finite element iD

Definition at line 76 of file AdjacencyMultiIndices.hpp.

76 { return entFePtr->getId(); }
const boost::shared_ptr< EntFiniteElement > entFePtr
finite element entity

◆ getEntHandle()

EntityHandle MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getEntHandle ( ) const

get entity handle

Definition at line 66 of file AdjacencyMultiIndices.hpp.

66 { return entFieldPtr->getEnt(); }
const boost::shared_ptr< FieldEntity > entFieldPtr
field entity

◆ getEntId()

BitFieldId MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getEntId ( ) const

get field iD

Definition at line 71 of file AdjacencyMultiIndices.hpp.

71 { return entFieldPtr->getId(); }
const boost::shared_ptr< FieldEntity > entFieldPtr
field entity

◆ getEntMeshset()

EntityHandle MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getEntMeshset ( ) const

get entity meshset carrying its field

Definition at line 61 of file AdjacencyMultiIndices.hpp.

61 { return entFieldPtr->getMeshset(); }
const boost::shared_ptr< FieldEntity > entFieldPtr
field entity

◆ getEntUniqueId()

UId MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getEntUniqueId ( ) const

get unique iD of entity on field

Definition at line 56 of file AdjacencyMultiIndices.hpp.

56 { return entFieldPtr->getGlobalUniqueId(); }
const boost::shared_ptr< FieldEntity > entFieldPtr
field entity

◆ getFeHandle()

EntityHandle MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getFeHandle ( ) const

get finite element handle

Definition at line 51 of file AdjacencyMultiIndices.hpp.

51 { return entFePtr->getEnt(); }
const boost::shared_ptr< EntFiniteElement > entFePtr
finite element entity

◆ getFeMeshset()

EntityHandle MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getFeMeshset ( ) const

get meshset of finite element

Definition at line 46 of file AdjacencyMultiIndices.hpp.

46 { return entFePtr->getMeshset(); }
const boost::shared_ptr< EntFiniteElement > entFePtr
finite element entity

◆ getFeUniqueId()

UId MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getFeUniqueId ( ) const

get unique iD of finite element entity

Definition at line 41 of file AdjacencyMultiIndices.hpp.

41 { return entFePtr->getGlobalUniqueId(); }
const boost::shared_ptr< EntFiniteElement > entFePtr
finite element entity

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 295 of file FieldMultiIndices.cpp.

296  {
297  os << "byWhat " << std::bitset<3>(e.byWhat) << " " << *e.entFieldPtr
298  << std::endl
299  << *e.entFePtr->sFePtr;
300  return os;
301 }

Member Data Documentation

◆ byWhat

unsigned int MoFEM::FieldEntityEntFiniteElementAdjacencyMap::byWhat

see options ByWhat

Definition at line 29 of file AdjacencyMultiIndices.hpp.

◆ entFePtr

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

finite element entity

Definition at line 31 of file AdjacencyMultiIndices.hpp.

◆ entFieldPtr

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

field entity

Definition at line 30 of file AdjacencyMultiIndices.hpp.


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