54 #ifndef directionInfo_H 55 #define directionInfo_H 78 Ostream&
operator<<(Ostream&,
const directionInfo&);
164 template<
class TrackingData>
165 inline bool valid(TrackingData& td)
const;
168 template<
class TrackingData>
179 template<
class TrackingData>
184 const label patchFacei,
185 const point& faceCentre,
190 template<
class TrackingData>
195 const label patchFacei,
196 const point& faceCentre,
201 template<
class TrackingData>
210 template<
class TrackingData>
214 const label thisCelli,
215 const label neighbourFacei,
222 template<
class TrackingData>
226 const label thisFacei,
227 const label neighbourCelli,
234 template<
class TrackingData>
238 const label thisFacei,
245 template<
class TrackingData>
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool equal(const directionInfo &, TrackingData &td) const
Same (like operator==)
Cell-face mesh analysis engine.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
friend Ostream & operator<<(Ostream &, const directionInfo &)
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Convert any absolute coordinates into relative to (patch)face.
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const directionInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
bool contiguous< directionInfo >()
Data associated with directionInfo type are contiguous.
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
void enterDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Reverse of leaveDomain.
bool operator!=(const directionInfo &) const
Istream & operator>>(Istream &, directionInfo &)
bool operator==(const directionInfo &) const
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.
friend Istream & operator>>(Istream &, directionInfo &)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Holds direction in which to split cell (in fact a local coordinate axes). Information is a label and ...
directionInfo()
Construct null.
void transform(const polyMesh &, const tensor &, TrackingData &td)
Apply rotation matrix to any coordinates.
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const directionInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
Ostream & operator<<(Ostream &, const ensightPart &)
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.
bool sameGeometry(const polyMesh &, const directionInfo &, const scalar, TrackingData &td) const
Check for identical geometrical data. Used for cyclics checking.