32 template<
class TrackingData>
33 inline bool Foam::patchEdgeFaceRegion::update
35 const patchEdgeFaceRegion&
w2,
46 if (
w2.region_ == -2 || region_ == -2)
60 if (
w2.region_ < region_)
100 template<
class TrackingData>
103 return region_ != -1;
107 template<
class TrackingData>
119 template<
class TrackingData>
131 return update(faceInfo, tol, td);
135 template<
class TrackingData>
141 const bool sameOrientation,
146 return update(edgeInfo, tol, td);
150 template<
class TrackingData>
162 return update(edgeInfo, tol, td);
166 template<
class TrackingData>
179 inline bool Foam::patchEdgeFaceRegion::operator==
184 return region() == rhs.region();
188 inline bool Foam::patchEdgeFaceRegion::operator!=
193 return !(*
this == rhs);
205 return os << wDist.region_;
215 return is >> wDist.region_;
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Transport of region for use in PatchEdgeFaceWave. Set element to -2 to denote blocked.
bool equal(const patchEdgeFaceRegion &, TrackingData &) const
Same (like operator==)
patchEdgeFaceRegion()
Construct null.
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
void transform(const polyMesh &mesh, const indirectPrimitivePatch &patch, const tensor &rotTensor, const scalar tol, TrackingData &td)
Apply rotation matrix.
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.
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.
Mesh consisting of general polyhedral cells.
#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.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
errorManip< error > abort(error &err)