39 const label refinementCount,
43 refinementCount_(refinementCount),
50 template<
class TrackingData>
58 template<
class TrackingData>
72 template<
class TrackingData>
76 const label patchFacei,
83 template<
class TrackingData>
87 const label thisCelli,
88 const label neighbourFacei,
118 label transportedFaceCount;
123 transportedFaceCount =
max(0, neighbourInfo.
count()-2);
128 transportedFaceCount =
max(0, neighbourInfo.
count()-1);
131 if (count_ >= transportedFaceCount)
137 count_ = transportedFaceCount;
145 template<
class TrackingData>
149 const label thisFacei,
150 const label neighbourCelli,
160 count_ = neighbourInfo.
count();
165 if (count_ >= neighbourInfo.
count())
172 count_ = neighbourInfo.
count();
180 template<
class TrackingData>
184 const label thisFacei,
194 count_ = neighbourInfo.
count();
199 if (count_ >= neighbourInfo.
count())
206 count_ = neighbourInfo.
count();
213 template<
class TrackingData>
236 return !(*
this == rhs);
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
refinementData()
Construct null.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const refinementData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const refinementData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
void transform(const polyPatch &patch, const label patchFacei, const transformer &transform, TrackingData &td)
Transform across an interface.
bool sameGeometry(const polyMesh &, const refinementData &, const scalar, TrackingData &td) const
Check for identical geometrical data. Used for cyclics checking.
label refinementCount() const
errorManip< error > abort(error &err)
Transfers refinement levels such that slow transition between levels is maintained. Used in FaceCellWave.
bool operator==(const refinementData &) const
bool equal(const refinementData &, TrackingData &td) const
Same (like operator==)
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.
bool operator!=(const refinementData &) const