Go to the documentation of this file.
37 #ifndef refinementDistanceData_H
38 #define refinementDistanceData_H
71 template<
class TrackingData>
142 template<
class TrackingData>
143 inline bool valid(TrackingData&)
const;
146 template<
class TrackingData>
157 template<
class TrackingData>
162 const label patchFaceI,
163 const point& faceCentre,
168 template<
class TrackingData>
173 const label patchFaceI,
174 const point& faceCentre,
179 template<
class TrackingData>
188 template<
class TrackingData>
192 const label thisCellI,
193 const label neighbourFaceI,
200 template<
class TrackingData>
204 const label thisFaceI,
205 const label neighbourCellI,
212 template<
class TrackingData>
216 const label thisFaceI,
223 template<
class TrackingData>
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
label originLevel() const
bool sameGeometry(const polyMesh &, const refinementDistanceData &, const scalar, TrackingData &) const
Check for identical geometrical data. Used for cyclics checking.
scalar level0Size_
Unrefined (level0) buffer size (nBufferLayers*level0Size)
scalar level0Size() const
bool valid(TrackingData &) const
Check whether origin has been changed at all or.
bool operator==(const refinementDistanceData &) const
refinementDistanceData()
Construct null.
point origin_
Nearest point with highest level.
Mesh consisting of general polyhedral cells.
bool updateCell(const polyMesh &, const label thisCellI, const label neighbourFaceI, const refinementDistanceData &neighbourInfo, const scalar tol, TrackingData &)
Influence of neighbouring face.
Transfers refinement levels such that slow transition between levels is maintained....
friend Istream & operator>>(Istream &, refinementDistanceData &)
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 contiguous< refinementDistanceData >()
Data associated with refinementDistanceData type are contiguous.
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.
bool update(const point &, const refinementDistanceData &neighbourInfo, const scalar tol, TrackingData &)
Updates with neighbouring data. Returns true if something changed.
bool operator!=(const refinementDistanceData &) const
bool updateFace(const polyMesh &, const label thisFaceI, const label neighbourCellI, const refinementDistanceData &neighbourInfo, const scalar tol, TrackingData &)
Influence of neighbouring cell.
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFaceI, const point &faceCentre, TrackingData &)
Convert any absolute coordinates into relative to (patch)face.
void transform(const polyMesh &, const tensor &, TrackingData &)
Apply rotation matrix to any coordinates.
bool equal(const refinementDistanceData &, TrackingData &) const
Same (like operator==)
friend Ostream & operator<<(Ostream &, const refinementDistanceData &)
void enterDomain(const polyMesh &, const polyPatch &, const label patchFaceI, const point &faceCentre, TrackingData &)
Reverse of leaveDomain.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const point & origin() const
label wantedLevel(const point &pt) const
Calculates the wanted level at a given point. Walks out from.