Go to the documentation of this file.
33 template<
class TrackingData>
34 inline bool Foam::wallNormalInfo::update
36 const wallNormalInfo&
w2,
54 normal_ =
w2.normal();
92 template<
class TrackingData>
100 template<
class TrackingData>
114 template<
class TrackingData>
119 const label patchFacei,
120 const point& faceCentre,
127 template<
class TrackingData>
138 template<
class TrackingData>
143 const label patchFacei,
144 const point& faceCentre,
151 template<
class TrackingData>
155 const label thisCelli,
156 const label neighbourFacei,
162 return update(neighbourWallInfo, td);
167 template<
class TrackingData>
171 const label thisFacei,
172 const label neighbourCelli,
178 return update(neighbourWallInfo, td);
183 template<
class TrackingData>
187 const label thisFacei,
193 return update(neighbourWallInfo, td);
197 template<
class TrackingData>
213 return normal() == rhs.
normal();
220 return !(*
this == rhs);
bool operator!=(const wallNormalInfo &) const
bool sameGeometry(const polyMesh &, const wallNormalInfo &, const scalar, TrackingData &td) const
Check for identical geometrical data. Used for cyclics checking.
const vector & normal() const
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const wallNormalInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
Mesh consisting of general polyhedral cells.
void enterDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Reverse of leaveDomain.
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< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
A patch is a list of labels that address the faces in the global face list.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
bool operator==(const wallNormalInfo &) const
errorManip< error > abort(error &err)
bool equal(const wallNormalInfo &, TrackingData &td) const
Same (like operator==)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static const Vector< scalar > max
const std::string patch
OpenFOAM patch number as a std::string.
void transform(const polyMesh &, const tensor &, TrackingData &td)
Apply rotation matrix to any coordinates.
Holds information regarding nearest wall point. Used in wall refinement.
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Convert any absolute coordinates into relative to (patch)face.
wallNormalInfo()
Construct null.
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const wallNormalInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.