66 origPatch().faceAreas(),
82 intersectionIsValid_ =
false;
90 intersectionIsValid_ =
false;
98 intersectionIsValid_ =
false;
126 const word& patchType
131 intersectionIsValid_(false),
132 intersection_(false),
145 const word& patchType,
146 const word& nbrPatchName,
147 const word& origPatchName,
163 intersectionIsValid_(false),
164 intersection_(false),
176 const word& patchType
181 intersectionIsValid_(false),
182 intersection_(false),
196 intersectionIsValid_(false),
197 intersection_(false),
209 const label newStart,
210 const word& nbrPatchName,
211 const word& origPatchName
216 intersectionIsValid_(false),
217 intersection_(false),
235 refCast<const nonConformalCyclicPolyPatch>
254 <<
"The non-conformal cyclic intersection is only available to "
258 if (!intersectionIsValid_)
260 const polyMesh& mesh = boundaryMesh().mesh();
268 nbrPatch().origPatch(),
272 intersectionIsValid_ =
true;
275 return intersection_;
285 <<
"The non-conformal cyclic rays is only available to "
291 const polyMesh& mesh = boundaryMesh().mesh();
307 nbrPatch().origPatch(),
323 const scalar fraction,
324 const label origFacei,
330 const polyMesh& mesh = boundaryMesh().mesh();
333 owner() ? *this : nbrPatch();
335 auto ownerRaysMethod =
341 (ownerPatch.
rays().*ownerRaysMethod)
345 nbrPatch().origPatch(),
Macros for easy insertion into run-time selection tables.
static nonConformalBoundary & New(const word &name, const polyMesh &mesh)
Construct and return the named DemandDrivenMeshObject.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Buffers for inter-processor communications streams (UOPstream, UIPstream).
const cyclicPolyPatch & nbrPatch() const
virtual void write(Ostream &) const
Write the polyPatch data as a dictionary.
virtual void initMovePoints(PstreamBuffers &, const pointField &)
Initialise the patches for moving points.
virtual void rename(const wordList &newNames)
Reset the patch name.
virtual void reorder(const labelUList &newToOldIndex)
Reset the patch index.
virtual void initCalcGeometry(PstreamBuffers &)
Initialise the calculation of the patch geometry.
virtual void initTopoChange(PstreamBuffers &)
Initialise the update of the patch topology.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Class to generate patchToPatch coupling geometry. A full geometric intersection is done between a fac...
remote srcToTgtRay(const primitiveOldTimePatch &tgtPatch, const scalar fraction, const label srcFacei, const vector &srcP, const vector &srcN, point &tgtP) const
Compute a ray intersection from the source side to the target.
remote tgtToSrcRay(const primitiveOldTimePatch &srcPatch, const scalar fraction, const label tgtFacei, const vector &tgtP, const vector &tgtN, point &srcP) const
Compute a ray intersection from the target side to the source.
Mesh consisting of general polyhedral cells.
virtual const pointField & oldPoints() const
Return old points for mesh motion.
virtual const pointField & points() const
Return raw points.
A patch is a list of labels that address the faces in the global face list.
virtual void clearGeom()
Clear geometry.
Struct for keeping processor, element (cell, face, point) index.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
word name(const bool)
Return a word representation of a bool.
errorManip< error > abort(error &err)
PrimitiveOldTimePatch< SubList< face >, const pointField & > primitiveOldTimePatch
Addressing for a faceList slice.
dimensionSet transform(const dimensionSet &)
defineTypeNameAndDebug(combustionModel, 0)