40#ifndef refinementDistanceData_H
41#define refinementDistanceData_H
54class refinementDistanceData;
56Istream&
operator>>(Istream&, refinementDistanceData&);
57Ostream&
operator<<(Ostream&,
const refinementDistanceData&);
80 template<
class TrackingData>
147 template<
class TrackingData>
148 inline bool valid(TrackingData&)
const;
151 template<
class TrackingData>
162 template<
class TrackingData>
167 const label patchFacei,
168 const point& faceCentre,
173 template<
class TrackingData>
178 const label patchFacei,
179 const point& faceCentre,
184 template<
class TrackingData>
193 template<
class TrackingData>
197 const label thisCelli,
198 const label neighbourFacei,
205 template<
class TrackingData>
209 const label thisFacei,
210 const label neighbourCelli,
217 template<
class TrackingData>
221 const label thisFacei,
228 template<
class TrackingData>
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.
Transfers refinement levels such that slow transition between levels is maintained....
const point & origin() const
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const refinementDistanceData &neighbourInfo, const scalar tol, TrackingData &)
Influence of neighbouring face.
scalar level0Size() const
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &)
Convert any absolute coordinates into relative to (patch)face.
bool operator!=(const refinementDistanceData &) const
Test for inequality.
friend Ostream & operator<<(Ostream &, const refinementDistanceData &)
label originLevel() const
bool sameGeometry(const polyMesh &, const refinementDistanceData &, const scalar, TrackingData &) const
Check for identical geometrical data (eg, cyclics checking)
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const refinementDistanceData &neighbourInfo, const scalar tol, TrackingData &)
Influence of neighbouring cell.
label wantedLevel(const point &pt) const
Calculates the wanted level at a given point.
bool valid(TrackingData &) const
Changed or contains original (invalid) value.
bool operator==(const refinementDistanceData &) const
Test for equality.
refinementDistanceData()
Default construct.
friend Istream & operator>>(Istream &, refinementDistanceData &)
void enterDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &)
Reverse of leaveDomain.
void transform(const polyMesh &, const tensor &, TrackingData &)
Apply rotation matrix to any coordinates.
bool equal(const refinementDistanceData &, TrackingData &) const
Test for equality, with TrackingData.
Tensor of scalars, i.e. Tensor<scalar>.
vector point
Point is a vector.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Istream & operator>>(Istream &, directionInfo &)
A template class to specify that a data type can be considered as being contiguous in memory.