Public Member Functions | Public Attributes | List of all members
faPatchData Class Reference

Helper class for holding data during faPatch construction. Most data members are exposed at the moment. More...

Collaboration diagram for faPatchData:
Collaboration graph
[legend]

Public Member Functions

 faPatchData ()
 
const wordname () const noexcept
 
dictionary dict (const bool withEdgeLabels=true) const
 
void clear ()
 
void assign (const faPatch &fap)
 
bool assign_coupled (int ownProci, int neiProci)
 
bool coupled () const noexcept
 
bool owner () const noexcept
 
bool neighbour () const noexcept
 
int matchPatchPair (const labelPair &patchPair) const noexcept
 
int comparePatchPair (const labelPair &patchPair) const noexcept
 

Public Attributes

word name_
 
word type_
 
label ownerPolyPatchId_
 
label neighPolyPatchId_
 
int ownerProcId_
 
int neighProcId_
 
labelList edgeLabels_
 

Detailed Description

Helper class for holding data during faPatch construction. Most data members are exposed at the moment.

Definition at line 48 of file faPatchData.H.

Constructor & Destructor Documentation

◆ faPatchData()

Definition at line 28 of file faPatchData.C.

Member Function Documentation

◆ name()

const Foam::word & name ( ) const
noexcept

Definition at line 39 of file faPatchData.C.

◆ dict()

Foam::dictionary dict ( const bool  withEdgeLabels = true) const

Definition at line 45 of file faPatchData.C.

References dictionary::add(), and coupled().

Here is the call graph for this function:

◆ clear()

void clear ( )

Definition at line 70 of file faPatchData.C.

◆ assign()

void assign ( const faPatch fap)

Definition at line 85 of file faPatchData.C.

References clear(), faPatch::edgeLabels(), patchIdentifier::name(), and faPatch::ngbPolyPatchIndex().

Here is the call graph for this function:

◆ assign_coupled()

bool assign_coupled ( int  ownProci,
int  neiProci 
)

Definition at line 105 of file faPatchData.C.

References clear(), and processorPolyPatch::newName().

Here is the call graph for this function:

◆ coupled()

bool coupled ( ) const
inlinenoexcept

Definition at line 98 of file faPatchData.H.

References faPatchData::neighProcId_, and faPatchData::ownerProcId_.

◆ owner()

bool owner ( ) const
inlinenoexcept

Definition at line 104 of file faPatchData.H.

References faPatchData::neighProcId_, and faPatchData::ownerProcId_.

Referenced by faPatchData::neighbour().

Here is the caller graph for this function:

◆ neighbour()

bool neighbour ( ) const
inlinenoexcept

Definition at line 110 of file faPatchData.H.

References faPatchData::owner().

Here is the call graph for this function:

◆ matchPatchPair()

int matchPatchPair ( const labelPair patchPair) const
noexcept

Definition at line 124 of file faPatchData.C.

References Pair::second().

Here is the call graph for this function:

◆ comparePatchPair()

int comparePatchPair ( const labelPair patchPair) const
noexcept

Definition at line 142 of file faPatchData.C.

References Pair::second().

Here is the call graph for this function:

Member Data Documentation

◆ name_

word name_

Definition at line 54 of file faPatchData.H.

◆ type_

word type_

Definition at line 55 of file faPatchData.H.

◆ ownerPolyPatchId_

label ownerPolyPatchId_

Definition at line 57 of file faPatchData.H.

◆ neighPolyPatchId_

label neighPolyPatchId_

Definition at line 58 of file faPatchData.H.

◆ ownerProcId_

int ownerProcId_

Definition at line 61 of file faPatchData.H.

Referenced by faPatchData::coupled(), and faPatchData::owner().

◆ neighProcId_

int neighProcId_

Definition at line 62 of file faPatchData.H.

Referenced by faPatchData::coupled(), and faPatchData::owner().

◆ edgeLabels_

labelList edgeLabels_

Definition at line 65 of file faPatchData.H.


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