Go to the documentation of this file.
62 template<
class TrackingData>
70 template<
class TrackingData>
85 template<
class TrackingData>
90 const label patchFaceI,
91 const point& faceCentre,
101 template<
class TrackingData>
106 const label patchFaceI,
107 const point& faceCentre,
113 const face&
f = patch[patchFaceI];
121 template<
class TrackingData>
132 template<
class TrackingData>
136 const label thisCellI,
137 const label neighbourFaceI,
153 if (neighbourInfo.
index() == -2)
158 else if (neighbourInfo.
index() == -1)
206 n_ = neighbourInfo.
n();
213 template<
class TrackingData>
217 const label thisFaceI,
218 const label neighbourCellI,
235 if (neighbourInfo.
index() >= 0)
245 neighbourInfo.
index()
255 n_ = neighbourInfo.
n();
262 template<
class TrackingData>
279 index_ = neighbourInfo.
index();
281 n_ = neighbourInfo.
n();
288 template<
class TrackingData>
304 return index() == rhs.
index() &&
n() == rhs.
n();
311 return !(*
this == rhs);
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFaceI, const point &faceCentre, TrackingData &td)
Convert any absolute coordinates into relative to (patch)face.
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
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...
bool operator!=(const directionInfo &) const
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
const edgeList & edges() const
Return mesh edges. Uses calcEdges.
Mesh consisting of general polyhedral cells.
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
A cellMatcher for hex cells.
void transform(const polyMesh &, const tensor &, TrackingData &td)
Apply rotation matrix to any coordinates.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A patch is a list of labels that address the faces in the global face list.
const labelListList & faceEdges() const
Holds direction in which to split cell (in fact a local coordinate axes). Information is a label and ...
const double e
Elementary charge.
bool operator==(const directionInfo &) const
virtual const faceList & faces() const
Return raw faces.
bool updateFace(const polyMesh &, const label thisFaceI, const label neighbourCellI, const directionInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
bool updateCell(const polyMesh &, const label thisCellI, const label neighbourFaceI, const directionInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
bool isA(const Type &t)
Check if a dynamic_cast to typeid is possible.
directionInfo()
Construct null.
A face is a list of labels corresponding to mesh vertices.
void size(const label)
Override size to be inconsistent with allocated storage.
void enterDomain(const polyMesh &, const polyPatch &, const label patchFaceI, const point &faceCentre, TrackingData &td)
Reverse of leaveDomain.
bool sameGeometry(const polyMesh &, const directionInfo &, const scalar, TrackingData &td) const
Check for identical geometrical data. Used for cyclics checking.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...