48 patchGroupIDs_(this->size())
54 const wordRe& patchName = items[i].patchName();
60 <<
"Cannot find any patch names matching "
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
99 patchGroupIDs_(pidl.patchGroupIDs_)
107 forAll(patchGroupIDs_, groupi)
109 if (patchGroupIDs_[groupi].
found(
id))
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
void append(const T &val)
Copy append an element to the end of this list.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void transfer(List< T > &list)
A list of faces which address into the list of points.
bool empty() const noexcept
True if the UList is empty (ie, size() is zero)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
List container for patchInteractionData class.
label applyToPatch(const label id) const
Return label of group containing patch id.
patchInteractionDataList()
Construct null.
Helper class for the LocalInteraction patch interaction model.
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
Mesh consisting of general polyhedral cells.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
A patch is a list of labels that address the faces in the global face list.
Lookup type of boundary radiation properties.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define WarningInFunction
Report a warning using Foam::Warning.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a)
#define forAll(list, i)
Loop across all elements in list.
#define forAllReverse(list, i)
Reverse loop across all elements in list.