52 template<
class TrackingData>
59 template<
class TrackingData>
73 template<
class TrackingData>
77 const label patchFacei,
84 const face&
f = patch[patchFacei];
90 template<
class TrackingData>
94 const label thisCelli,
95 const label neighbourFacei,
111 if (neighbourInfo.
index() == -2)
116 else if (neighbourInfo.
index() == -1)
164 n_ = neighbourInfo.
n();
170 template<
class TrackingData>
174 const label thisFacei,
175 const label neighbourCelli,
192 if (neighbourInfo.
index() >= 0)
202 neighbourInfo.
index()
212 n_ = neighbourInfo.
n();
218 template<
class TrackingData>
235 index_ = neighbourInfo.
index();
237 n_ = neighbourInfo.
n();
244 template<
class TrackingData>
257 inline bool Foam::directionInfo::operator==
262 return index() == rhs.index() &&
n() == rhs.n();
266 inline bool Foam::directionInfo::operator!=
271 return !(*
this == rhs);
void size(const label)
Override size to be inconsistent with allocated storage.
Holds direction in which to split cell (in fact a local coordinate axes). Information is a label and ...
bool sameGeometry(const polyMesh &, const directionInfo &, const scalar, TrackingData &td) const
Check for identical geometrical data. Used for cyclics checking.
directionInfo()
Construct null.
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const directionInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const directionInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
void transform(const polyPatch &patch, const label patchFacei, const transformer &transform, TrackingData &td)
Transform across an interface.
bool equal(const directionInfo &, TrackingData &td) const
Same (like operator==)
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
A face is a list of labels corresponding to mesh vertices.
A cellMatcher for hex cells.
Mesh consisting of general polyhedral cells.
virtual const faceList & faces() const
Return raw faces.
A patch is a list of labels that address the faces in the global face list.
const edgeList & edges() const
Return mesh edges. Uses calcEdges.
const labelListList & faceEdges() const
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 > &)
bool isA(const Type &t)
Check if a dynamic_cast to typeid is possible.
dimensionSet transform(const dimensionSet &)