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,
111 count_ = refinementCount();
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);
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....
bool operator!=(const refinementData &) const
bool equal(const refinementData &, TrackingData &td) const
Same (like operator==)
bool sameGeometry(const polyMesh &, const refinementData &, const scalar, TrackingData &td) const
Check for identical geometrical data. Used for cyclics checking.
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const refinementData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
label refinementCount() const
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const refinementData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
void transform(const polyPatch &patch, const label patchFacei, const transformer &transform, TrackingData &td)
Transform across an interface.
refinementData()
Construct null.
bool operator==(const refinementData &) const
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
bool valid(const PtrList< ModelType > &l)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
errorManip< error > abort(error &err)
dimensionSet transform(const dimensionSet &)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
label count(const ListType &l, typename ListType::const_reference x)
Count the number of occurrences of a value in a list.