IFEM  90A354
Public Member Functions | Protected Attributes | List of all members
DomainDecomposition::OrientIterator Class Reference

Iterator for matching nodes on edges/faces with a given orientation and index. More...

#include <DomainDecomposition.h>

Collaboration diagram for DomainDecomposition::OrientIterator:
Collaboration graph
[legend]

Public Member Functions

 OrientIterator (const ASMbase *pch, int orient, int lIdx, int basis, int dim=2)
 Constructor. More...
 
 OrientIterator (const ASMbase *pch, int orient, int lIdx)
 Constructor for elements. More...
 
IntVec::const_iterator begin ()
 Obtain start of node numbers.
 
IntVec::const_iterator end ()
 Obtain end of node numbers.
 
size_t size () const
 Obtain number of nodes.
 

Protected Attributes

IntVec nodes
 Node number on boundary.
 

Detailed Description

Iterator for matching nodes on edges/faces with a given orientation and index.

Constructor & Destructor Documentation

◆ OrientIterator() [1/2]

DomainDecomposition::OrientIterator::OrientIterator ( const ASMbase pch,
int  orient,
int  lIdx,
int  basis,
int  dim = 2 
)

Constructor.

Parameters
pchSlave patch
orientOrientation of boundary on slave
lIdxIndex of boundary on slave
basisBasis to use for boundary on slave
dimDimension to iterate over

References ASMbase::getBoundary1Nodes(), ASMbase::getBoundaryNodes(), ASMbase::getNoSpaceDim(), and ASMstruct::getSize().

◆ OrientIterator() [2/2]

DomainDecomposition::OrientIterator::OrientIterator ( const ASMbase pch,
int  orient,
int  lIdx 
)

Constructor for elements.

Parameters
pchSlave patch
orientOrientation of boundary on slave
lIdxIndex of boundary on slave

References ASMbase::getNoBoundaryElms(), ASMbase::getNoSpaceDim(), and ASMstruct::getNoStructElms().


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