v0.8.13
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)
 
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 207 of file CoreDataStructures.cpp.

210  : 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

Member Function Documentation

◆ getBitFEId()

BitFEId MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getBitFEId ( ) const

get finite element iD

Definition at line 74 of file AdjacencyMultiIndices.hpp.

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

◆ getEntHandle()

EntityHandle MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getEntHandle ( ) const

get entity handle

Definition at line 64 of file AdjacencyMultiIndices.hpp.

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

◆ getEntId()

BitFieldId MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getEntId ( ) const

get field iD

Definition at line 69 of file AdjacencyMultiIndices.hpp.

69 { 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 59 of file AdjacencyMultiIndices.hpp.

59 { 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 54 of file AdjacencyMultiIndices.hpp.

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

◆ getFeHandle()

EntityHandle MoFEM::FieldEntityEntFiniteElementAdjacencyMap::getFeHandle ( ) const

get finite element handle

Definition at line 49 of file AdjacencyMultiIndices.hpp.

49 { 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 44 of file AdjacencyMultiIndices.hpp.

44 { 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 39 of file AdjacencyMultiIndices.hpp.

39 { 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
Deprecated:
use getFeUniqueId
Deprecated:
use getFeMeshset
Deprecated:
use getFeHandle
Deprecated:
use getEntUniqueId
Deprecated:
use getEntMeshset
Deprecated:
use getEntHandle
Deprecated:
use getBitFEId

Definition at line 212 of file CoreDataStructures.cpp.

213  {
214  os << "byWhat " << std::bitset<3>(e.byWhat) << " " << *e.entFieldPtr
215  << std::endl
216  << *e.entFePtr->sFePtr;
217  return os;
218 }

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: