Go to the documentation of this file.
54 #ifndef directionInfo_H
55 #define directionInfo_H
155 template<
class TrackingData>
156 inline bool valid(TrackingData& td)
const;
159 template<
class TrackingData>
170 template<
class TrackingData>
175 const label patchFaceI,
176 const point& faceCentre,
181 template<
class TrackingData>
186 const label patchFaceI,
187 const point& faceCentre,
192 template<
class TrackingData>
201 template<
class TrackingData>
205 const label thisCellI,
206 const label neighbourFaceI,
213 template<
class TrackingData>
217 const label thisFaceI,
218 const label neighbourCellI,
225 template<
class TrackingData>
229 const label thisFaceI,
236 template<
class TrackingData>
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==)
bool operator!=(const directionInfo &) const
static label lowest(const label size, const label a, const label b)
Return 'lowest' of a,b in face of size.
Mesh consisting of general polyhedral cells.
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
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.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A patch is a list of labels that address the faces in the global face list.
static label edgeToFaceIndex(const primitiveMesh &mesh, const label cellI, const label faceI, const label edgeI)
Given edge on hex cell find corresponding edge on face. Is either.
static label findEdge(const primitiveMesh &mesh, const labelList &edgeLabels, const label v1, const label v0)
Find edge among edgeLabels that uses v0 and v1.
Holds direction in which to split cell (in fact a local coordinate axes). Information is a label and ...
friend Ostream & operator<<(Ostream &, const directionInfo &)
friend Istream & operator>>(Istream &, directionInfo &)
bool contiguous< directionInfo >()
Data associated with directionInfo type are contiguous.
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.
bool updateCell(const polyMesh &, const label thisCellI, const label neighbourFaceI, const directionInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
directionInfo()
Construct null.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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.
Cell-face mesh analysis engine.