40 #ifndef refinementData_H 41 #define refinementData_H 56 Istream&
operator>>(Istream&, refinementData&);
57 Ostream&
operator<<(Ostream&,
const refinementData&);
68 label refinementCount_;
90 return refinementCount_;
94 return refinementCount_;
108 return count_ >= refinementCount_;
116 template<
class TrackingData>
117 inline bool valid(TrackingData&
td)
const;
120 template<
class TrackingData>
131 template<
class TrackingData>
136 const label patchFacei,
137 const point& faceCentre,
142 template<
class TrackingData>
147 const label patchFacei,
148 const point& faceCentre,
153 template<
class TrackingData>
162 template<
class TrackingData>
166 const label thisCelli,
167 const label neighbourFacei,
174 template<
class TrackingData>
178 const label thisFacei,
179 const label neighbourCelli,
186 template<
class TrackingData>
190 const label thisFacei,
197 template<
class TrackingData>
220 template<>
struct is_contiguous<refinementData> : std::true_type {};
223 template<>
struct is_contiguous_label<refinementData> : std::true_type {};
refinementData()
Default construct.
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const refinementData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const refinementData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
bool sameGeometry(const polyMesh &, const refinementData &, const scalar, TrackingData &td) const
Check for identical geometrical data (eg, cyclics checking)
label refinementCount() const
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Convert any absolute coordinates into relative to (patch)face.
void enterDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Reverse of leaveDomain.
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...
friend Istream & operator>>(Istream &, refinementData &)
Transfers refinement levels such that slow transition between levels is maintained. Used in FaceCellWave.
void transform(const polyMesh &, const tensor &, TrackingData &td)
Apply rotation matrix to any coordinates.
friend Ostream & operator<<(Ostream &, const refinementData &)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
bool operator==(const refinementData &) const
Test for equality.
bool equal(const refinementData &, TrackingData &td) const
Test for equality, with TrackingData.
bool valid(TrackingData &td) const
Changed or contains original (invalid) value.
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.
Tensor of scalars, i.e. Tensor<scalar>.
bool operator!=(const refinementData &) const
Test for inequality.