Go to the documentation of this file.
57 #ifndef directionInfo_H
58 #define directionInfo_H
79 Ostream&
operator<<(Ostream&,
const directionInfo&);
100 static label findEdge
165 template<
class TrackingData>
166 inline bool valid(TrackingData& td)
const;
169 template<
class TrackingData>
180 template<
class TrackingData>
185 const label patchFacei,
186 const point& faceCentre,
191 template<
class TrackingData>
196 const label patchFacei,
197 const point& faceCentre,
202 template<
class TrackingData>
211 template<
class TrackingData>
215 const label thisCelli,
216 const label neighbourFacei,
223 template<
class TrackingData>
227 const label thisFacei,
228 const label neighbourCelli,
235 template<
class TrackingData>
239 const label thisFacei,
246 template<
class TrackingData>
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.
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==)
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.
Istream & operator>>(Istream &, directionInfo &)
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.
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 operator==(const directionInfo &) const
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Convert any absolute coordinates into relative to (patch)face.
directionInfo()
Construct null.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & operator<<(Ostream &, const boundaryPatch &)
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.
A template class to specify that a data type can be considered as being contiguous in memory.
Cell-face mesh analysis engine.