36#ifndef Foam_faPatchData_H
37#define Foam_faPatchData_H
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
int matchPatchPair(const labelPair &patchPair) const noexcept
Ordered match with owner/neighbour patchPair.
const word & name() const noexcept
Return the name.
bool coupled() const noexcept
True if owner/neighbour processor ids are non-equal.
dictionary dict(const bool withEdgeLabels=true) const
Contents transcribed into a patch dictionary, usually including the edge labels.
bool assign_coupled(int ownProci, int neiProci)
Set values consistent with a processor coupling.
int comparePatchPair(const labelPair &patchPair) const noexcept
Unordered comparison with owner/neighbour patchPair.
faPatchData()
Default construct.
int ownerProcId_
The owner/neighbour for processor patches.
void assign(const faPatch &fap)
Clear and populate with values from finiteArea patch.
bool good() const
Has name/type etc.
bool neighbour() const noexcept
Does the other side own the patch?
bool owner() const noexcept
Does this side own the patch? Also true for non-coupled patches.
Finite area patch class. Used for 2-D non-Euclidian finite area method.
A class for handling words, derived from Foam::string.
Pair< label > labelPair
A pair of labels.
List< label > labelList
A List of labels.