Go to the documentation of this file.
47 patchGroupIDs_(this->size())
53 const keyType& patchName = items[i].patchName();
59 <<
"Cannot find any patch names matching " << patchName
63 patchGroupIDs_[i].transfer(ids);
74 && !isA<emptyPolyPatch>(pp)
75 && applyToPatch(pp.
index()) < 0
82 if (badPatches.size() > 0)
85 <<
"All patches must be specified when employing local patch "
86 <<
"interaction. Please specify data for patches:" <<
nl
98 patchGroupIDs_(pidl.patchGroupIDs_)
106 forAll(patchGroupIDs_, groupI)
108 const labelList& patchIDs = patchGroupIDs_[groupI];
111 if (patchIDs[patchi] ==
id)
Helper class for the LocalInteraction patch interaction model.
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
List container for patchInteractionData class.
virtual bool coupled() const
Return true if this patch is geometrically coupled (i.e. faces and.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
Ostream & endl(Ostream &os)
Add newline and flush stream.
label applyToPatch(const label id) const
Return label of group containing patch id.
Mesh consisting of general polyhedral cells.
#define forAll(list, i)
Loop across all elements in list.
A class for handling keywords in dictionaries.
A patch is a list of labels that address the faces in the global face list.
DynamicList< T, SizeMin > & append(const T &val)
Append an element to the end of this list.
ITstream & lookup(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
patchInteractionDataList()
Construct null.
#define forAllReverse(list, i)
Reverse loop across all elements in list.
const word & name() const
The patch name.
#define WarningInFunction
Report a warning using Foam::Warning.
label index() const
The index of this patch in the boundaryMesh.
A list of faces which address into the list of points.