30 template<
class TrackingData>
31 inline bool Foam::wallNormalInfo::update
33 const wallNormalInfo&
w2,
51 normal_ =
w2.normal();
80 template<
class TrackingData>
87 template<
class TrackingData>
100 template<
class TrackingData>
104 const label patchFacei,
111 template<
class TrackingData>
115 const label thisCelli,
116 const label neighbourFacei,
122 return update(neighbourWallInfo, td);
126 template<
class TrackingData>
130 const label thisFacei,
131 const label neighbourCelli,
137 return update(neighbourWallInfo, td);
141 template<
class TrackingData>
145 const label thisFacei,
151 return update(neighbourWallInfo, td);
155 template<
class TrackingData>
168 inline bool Foam::wallNormalInfo::operator==
173 return normal() == rhs.normal();
177 inline bool Foam::wallNormalInfo::operator!=
182 return !(*
this == rhs);
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.
Holds information regarding nearest wall point. Used in wall refinement.
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.
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.
void transform(const polyPatch &patch, const label patchFacei, const transformer &transform, TrackingData &td)
Transform across an interface.
bool equal(const wallNormalInfo &, TrackingData &td) const
Same (like operator==)
#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)
dimensionSet transform(const dimensionSet &)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)