v0.11.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 29 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 310 of file FieldMultiIndices.cpp.

314  : 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 79 of file AdjacencyMultiIndices.hpp.

79 { return entFePtr->getId(); }

◆ getEntHandle()

EntityHandle MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getEntHandle ( ) const

get entity handle

Definition at line 69 of file AdjacencyMultiIndices.hpp.

69 { return entFieldPtr->getEnt(); }

◆ getEntId()

BitFieldId MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getEntId ( ) const

get field iD

Definition at line 74 of file AdjacencyMultiIndices.hpp.

74 { return entFieldPtr->getId(); }

◆ getEntMeshset()

EntityHandle MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getEntMeshset ( ) const

get entity meshset carrying its field

Definition at line 62 of file AdjacencyMultiIndices.hpp.

62  {
63  return entFieldPtr->getMeshset();
64  }

◆ getEntUniqueId()

UId MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getEntUniqueId ( ) const

get unique iD of entity on field

Definition at line 57 of file AdjacencyMultiIndices.hpp.

57 { return entFieldPtr->getLocalUniqueId(); }

◆ getFeHandle()

EntityHandle MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getFeHandle ( ) const

get finite element handle

Definition at line 52 of file AdjacencyMultiIndices.hpp.

52 { return entFePtr->getEnt(); }

◆ getFeMeshset()

EntityHandle MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getFeMeshset ( ) const

get meshset of finite element

Definition at line 47 of file AdjacencyMultiIndices.hpp.

47 { return entFePtr->getMeshset(); }

◆ getFeUniqueId()

UId MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getFeUniqueId ( ) const

get unique iD of finite element entity

Definition at line 42 of file AdjacencyMultiIndices.hpp.

42 { return entFePtr->getLocalUniqueId(); }

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 316 of file FieldMultiIndices.cpp.

317  {
318  os << "byWhat " << std::bitset<3>(e.byWhat) << " " << *e.entFieldPtr
319  << std::endl
320  << *e.entFePtr->getFiniteElementPtr();
321  return os;
322 }

Member Data Documentation

◆ byWhat

unsigned int MoFEM::FieldEntityEntFiniteElementAdjacencyMap::byWhat

see options ByWhat

Definition at line 30 of file AdjacencyMultiIndices.hpp.

◆ entFePtr

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

finite element entity

Definition at line 32 of file AdjacencyMultiIndices.hpp.

◆ entFieldPtr

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

field entity

Definition at line 31 of file AdjacencyMultiIndices.hpp.


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