48 patchGroupIDs_(this->size())
54 const wordRe& patchName = items[i].patchName();
60 <<
"Cannot find any patch names matching " 68 DynamicList<word> badPatches;
69 for (
const polyPatch&
pp :
bMesh)
74 && !isA<emptyPolyPatch>(
pp)
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 95 const patchInteractionDataList& pidl
99 patchGroupIDs_(pidl.patchGroupIDs_)
107 forAll(patchGroupIDs_, groupi)
109 if (patchGroupIDs_[groupi].
found(
id))
Helper class for the LocalInteraction patch interaction model.
errorManipArg< error, int > exit(error &err, const int errNo=1)
void transfer(List< T > &list)
Transfer the contents of the argument List into this list and annul the argument list.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
#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...
constexpr char nl
The newline '\n' character (0x0a)
bool empty() const noexcept
True if List is empty (ie, size() is zero)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Lookup type of boundary radiation properties.
#define forAll(list, i)
Loop across all elements in list.
A list of faces which address into the list of points.
patchInteractionDataList()
Construct null.
label applyToPatch(const label id) const
Return label of group containing patch id.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings...
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO...
#define WarningInFunction
Report a warning using Foam::Warning.
Mesh consisting of general polyhedral cells.
#define forAllReverse(list, i)
Reverse loop across all elements in list.
PrimitivePatch< List< face >, const pointField > bMesh
Holder of faceList and points. (v.s. e.g. primitivePatch which references points) ...
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())