Go to the documentation of this file.
64 template<
class TrackingData>
72 template<
class TrackingData>
87 template<
class TrackingData>
92 const label patchFacei,
93 const point& faceCentre,
103 template<
class TrackingData>
108 const label patchFacei,
109 const point& faceCentre,
117 index_ = (
f.size() - index_) %
f.size();
123 template<
class TrackingData>
134 template<
class TrackingData>
138 const label thisCelli,
139 const label neighbourFacei,
155 if (neighbourInfo.
index() == -2)
160 else if (neighbourInfo.
index() == -1)
208 n_ = neighbourInfo.
n();
215 template<
class TrackingData>
219 const label thisFacei,
220 const label neighbourCelli,
237 if (neighbourInfo.
index() >= 0)
247 neighbourInfo.
index()
257 n_ = neighbourInfo.
n();
264 template<
class TrackingData>
281 index_ = neighbourInfo.
index();
283 n_ = neighbourInfo.
n();
290 template<
class TrackingData>
306 return index() == rhs.
index() &&
n() == rhs.
n();
313 return !(*
this == rhs);
static constexpr const zero Zero
Global zero.
void enterDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Reverse of leaveDomain.
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
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const directionInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
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 (cellModel::HEX).
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.
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.
const labelListList & faceEdges() const
Holds direction in which to split cell (in fact a local coordinate axes). Information is a label and ...
const TargetType * isA(const Type &t)
Check if dynamic_cast to TargetType is possible.
bool operator==(const directionInfo &) const
virtual const faceList & faces() const
Return raw faces.
const std::string patch
OpenFOAM patch number as a std::string.
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Convert any absolute coordinates into relative to (patch)face.
const dimensionedScalar e
Elementary charge.
directionInfo()
Construct null.
A face is a list of labels corresponding to mesh vertices.
bool sameGeometry(const polyMesh &, const directionInfo &, const scalar, TrackingData &td) const
Check for identical geometrical data. Used for cyclics checking.
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const directionInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.