Go to the documentation of this file.
48 patchGroupIDs_(this->size())
54 const wordRe& patchName = items[i].patchName();
60 <<
"Cannot find any patch names matching "
64 patchGroupIDs_[i].transfer(ids);
74 && !isA<emptyPolyPatch>(pp)
75 && applyToPatch(pp.index()) < 0
78 badPatches.
append(pp.name());
82 if (!badPatches.empty())
85 <<
"All patches must be specified when employing local patch "
86 <<
"interaction. Please specify data for patches:" <<
nl
99 patchGroupIDs_(pidl.patchGroupIDs_)
107 forAll(patchGroupIDs_, groupi)
109 if (patchGroupIDs_[groupi].
found(
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.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
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 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.
#define WarningInFunction
Report a warning using Foam::Warning.
A list of faces which address into the list of points.