40 #ifndef refinementDistanceData_H 41 #define refinementDistanceData_H 54 class refinementDistanceData;
56 Istream&
operator>>(Istream&, refinementDistanceData&);
57 Ostream&
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>
void enterDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &)
Reverse of leaveDomain.
label wantedLevel(const point &pt) const
Calculates the wanted level at a given point.
friend Ostream & operator<<(Ostream &, const refinementDistanceData &)
bool equal(const refinementDistanceData &, TrackingData &) const
Test for equality, with TrackingData.
scalar level0Size() const
bool valid(TrackingData &) const
Changed or contains original (invalid) value.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
friend Istream & operator>>(Istream &, refinementDistanceData &)
bool operator!=(const refinementDistanceData &) const
Test for inequality.
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &)
Convert any absolute coordinates into relative to (patch)face.
Istream & operator>>(Istream &, directionInfo &)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
bool operator==(const refinementDistanceData &) const
Test for equality.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
label originLevel() const
A template class to specify that a data type can be considered as being contiguous in memory...
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const refinementDistanceData &neighbourInfo, const scalar tol, TrackingData &)
Influence of neighbouring face.
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.
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.
refinementDistanceData()
Default construct.
Tensor of scalars, i.e. Tensor<scalar>.
const point & origin() const
void transform(const polyMesh &, const tensor &, TrackingData &)
Apply rotation matrix to any coordinates.
Transfers refinement levels such that slow transition between levels is maintained. Used in FaceCellWave.