35 template<
class TrackingData>
36 inline bool Foam::patchEdgeFaceRegion::update
38 const patchEdgeFaceRegion&
w2,
49 if (
w2.region_ == -2 || region_ == -2)
63 if (
w2.region_ < region_)
95 template<
class TrackingData>
102 template<
class TrackingData>
114 template<
class TrackingData>
126 return update(faceInfo, tol, td);
130 template<
class TrackingData>
136 const bool sameOrientation,
141 return update(edgeInfo, tol, td);
145 template<
class TrackingData>
157 return update(edgeInfo, tol, td);
161 template<
class TrackingData>
174 inline bool Foam::patchEdgeFaceRegion::operator==
179 return region_ == rhs.region_;
183 inline bool Foam::patchEdgeFaceRegion::operator!=
188 return !(*
this == rhs);
bool updateEdge(const polyMesh &mesh, const indirectPrimitivePatch &patch, const label edgeI, const label facei, const patchEdgeFaceRegion &faceInfo, const scalar tol, TrackingData &td)
Influence of face on edge.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
bool updateFace(const polyMesh &mesh, const indirectPrimitivePatch &patch, const label facei, const label edgeI, const patchEdgeFaceRegion &edgeInfo, const scalar tol, TrackingData &td)
Influence of edge on face.
patchEdgeFaceRegion()
Default construct.
void transform(const polyMesh &mesh, const indirectPrimitivePatch &patch, const tensor &rotTensor, const scalar tol, TrackingData &td)
Apply rotation matrix.
A list of faces which address into the list of points.
bool valid(TrackingData &td) const
Changed or contains original (invalid) value.
Transport of region for use in PatchEdgeFaceWave.
errorManip< error > abort(error &err)
bool equal(const patchEdgeFaceRegion &, TrackingData &) const
Test for equality, with TrackingData.
const std::string patch
OpenFOAM patch number as a std::string.
Mesh consisting of general polyhedral cells.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
Tensor of scalars, i.e. Tensor<scalar>.