45 errorPatchIndex_ = -1;
57 errorPatchIndex_ = -1;
70 errorPatchName_(
word::null),
78 const word& origPatchName
83 errorPatchName_(
word::null),
96 errorPatchName_(
word::null),
109 errorPatchName_(
word::null),
124 return patch_.owner();
130 return patch_.neighbour();
142 return patch_.boundaryMesh()[errorPatchIndex()].name();
148 if (errorPatchIndex_ == -1)
156 isA<nonConformalErrorPolyPatch>(
p)
157 && refCast<const nonConformalErrorPolyPatch>(
p).origPatchIndex()
161 errorPatchIndex_ =
patchi;
167 if (errorPatchIndex_ == -1)
170 <<
"No error patch of type "
171 << nonConformalErrorPolyPatch::typeName
172 <<
" defined for patch " << origPatchName()
176 return errorPatchIndex_;
184 refCast<const nonConformalErrorPolyPatch>
186 patch_.boundaryMesh()[errorPatchIndex()]
#define forAll(list, i)
Loop across all elements in list.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
The coupledPolyPatch is an abstract base class for patches that couple regions of the computational d...
A list of keyword definitions, which are a keyword followed by any number of values (e....
A patch is a list of labels that address the faces in the global face list.
A class for handling words, derived from string.
static const word null
An empty word.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
To & refCast(From &r)
Reference type cast template function.
defineTypeNameAndDebug(combustionModel, 0)