v0.13.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 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 395 of file FieldMultiIndices.cpp.

399 : 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 68 of file AdjacencyMultiIndices.hpp.

68{ return entFePtr->getId(); }

◆ getEntHandle()

EntityHandle MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getEntHandle ( ) const

get entity handle

Definition at line 58 of file AdjacencyMultiIndices.hpp.

58{ return entFieldPtr->getEnt(); }

◆ getEntId()

BitFieldId MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getEntId ( ) const

get field iD

Definition at line 63 of file AdjacencyMultiIndices.hpp.

63{ return entFieldPtr->getId(); }

◆ getEntMeshset()

EntityHandle MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getEntMeshset ( ) const

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

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

get finite element handle

Definition at line 41 of file AdjacencyMultiIndices.hpp.

41{ return entFePtr->getEnt(); }

◆ getFeMeshset()

EntityHandle MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getFeMeshset ( ) const

get meshset of finite element

Definition at line 36 of file AdjacencyMultiIndices.hpp.

36{ return entFePtr->getMeshset(); }

◆ getFeUniqueId()

UId MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getFeUniqueId ( ) const

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

402 {
403 os << "byWhat " << std::bitset<3>(e.byWhat) << " " << *e.entFieldPtr
404 << std::endl
405 << *e.entFePtr->getFiniteElementPtr();
406 return os;
407}

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: