55template<
class TrackingData>
63template<
class TrackingData>
77template<
class TrackingData>
82 const label patchFacei,
83 const point& faceCentre,
93template<
class TrackingData>
98 const label patchFacei,
99 const point& faceCentre,
105 const face&
f = patch[patchFacei];
113template<
class TrackingData>
124template<
class TrackingData>
128 const label thisCelli,
129 const label neighbourFacei,
145 if (neighbourInfo.
index() == -2)
150 else if (neighbourInfo.
index() == -1)
185 label v0 =
f[neighbourInfo.
index()];
186 label v1 =
f[(neighbourInfo.
index() + 1) %
f.
size()];
198 n_ = neighbourInfo.
n();
205template<
class TrackingData>
209 const label thisFacei,
210 const label neighbourCelli,
227 if (neighbourInfo.
index() >= 0)
237 neighbourInfo.
index()
246 n_ = neighbourInfo.
n();
253template<
class TrackingData>
270 index_ = neighbourInfo.
index();
272 n_ = neighbourInfo.
n();
279template<
class TrackingData>
297 return index_ == rhs.index_ && n_ == rhs.n_;
306 return !(*
this == rhs);
void size(const label n)
Older name for setAddressableSize.
bool valid() const
True if all internal ids are non-negative.
Holds direction in which to split cell (in fact a local coordinate axes). Information is a label and ...
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 (eg, cyclics checking)
directionInfo()
Default construct, index=-1, vector::zero.
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 equal(const directionInfo &, TrackingData &td) const
Test for equality, with TrackingData.
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Convert any absolute coordinates into relative to (patch)face.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
friend Ostream & operator(Ostream &, const faMatrix< Type > &)
A face is a list of labels corresponding to mesh vertices.
static bool test(const UList< face > &faces)
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
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)