Helper class for holding data during faPatch construction. Most data members are exposed at the moment. More...
Public Member Functions | |
faPatchData () | |
const word & | name () 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_ |
Helper class for holding data during faPatch construction. Most data members are exposed at the moment.
Definition at line 48 of file faPatchData.H.
faPatchData | ( | ) |
Definition at line 28 of file faPatchData.C.
|
noexcept |
Definition at line 39 of file faPatchData.C.
Foam::dictionary dict | ( | const bool | withEdgeLabels = true | ) | const |
Definition at line 45 of file faPatchData.C.
References dictionary::add(), and coupled().
void clear | ( | ) |
Definition at line 70 of file faPatchData.C.
void assign | ( | const faPatch & | fap | ) |
Definition at line 85 of file faPatchData.C.
References clear(), faPatch::edgeLabels(), patchIdentifier::name(), and faPatch::ngbPolyPatchIndex().
bool assign_coupled | ( | int | ownProci, |
int | neiProci | ||
) |
Definition at line 105 of file faPatchData.C.
References clear(), and processorPolyPatch::newName().
|
inlinenoexcept |
Definition at line 98 of file faPatchData.H.
References faPatchData::neighProcId_, and faPatchData::ownerProcId_.
|
inlinenoexcept |
Definition at line 104 of file faPatchData.H.
References faPatchData::neighProcId_, and faPatchData::ownerProcId_.
Referenced by faPatchData::neighbour().
|
inlinenoexcept |
Definition at line 110 of file faPatchData.H.
References faPatchData::owner().
|
noexcept |
Definition at line 124 of file faPatchData.C.
References Pair::second().
|
noexcept |
Definition at line 142 of file faPatchData.C.
References Pair::second().
word name_ |
Definition at line 54 of file faPatchData.H.
word type_ |
Definition at line 55 of file faPatchData.H.
label ownerPolyPatchId_ |
Definition at line 57 of file faPatchData.H.
label neighPolyPatchId_ |
Definition at line 58 of file faPatchData.H.
int ownerProcId_ |
Definition at line 61 of file faPatchData.H.
Referenced by faPatchData::coupled(), and faPatchData::owner().
int neighProcId_ |
Definition at line 62 of file faPatchData.H.
Referenced by faPatchData::coupled(), and faPatchData::owner().
labelList edgeLabels_ |
Definition at line 65 of file faPatchData.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.