Go to the documentation of this file.
39 const label refinementCount,
43 refinementCount_(refinementCount),
50 template<
class TrackingData>
58 template<
class TrackingData>
72 template<
class TrackingData>
77 const label patchFaceI,
78 const point& faceCentre,
85 template<
class TrackingData>
96 template<
class TrackingData>
101 const label patchFaceI,
102 const point& faceCentre,
109 template<
class TrackingData>
113 const label thisCellI,
114 const label neighbourFaceI,
137 count_ = refinementCount();
144 label transportedFaceCount;
149 transportedFaceCount =
max(0, neighbourInfo.
count()-2);
154 transportedFaceCount =
max(0, neighbourInfo.
count()-1);
157 if (count_ >= transportedFaceCount)
163 count_ = transportedFaceCount;
171 template<
class TrackingData>
175 const label thisFaceI,
176 const label neighbourCellI,
186 count_ = neighbourInfo.
count();
191 if (count_ >= neighbourInfo.
count())
198 count_ = neighbourInfo.
count();
206 template<
class TrackingData>
210 const label thisFaceI,
220 count_ = neighbourInfo.
count();
225 if (count_ >= neighbourInfo.
count())
232 count_ = neighbourInfo.
count();
239 template<
class TrackingData>
262 return !(*
this == rhs);
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
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.
Transfers refinement levels such that slow transition between levels is maintained....
label refinementCount() const
bool updateCell(const polyMesh &, const label thisCellI, const label neighbourFaceI, const refinementData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
bool updateFace(const polyMesh &, const label thisFaceI, const label neighbourCellI, const refinementData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
Mesh consisting of general polyhedral cells.
bool operator==(const refinementData &) const
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A patch is a list of labels that address the faces in the global face list.
refinementData()
Construct null.
bool equal(const refinementData &, TrackingData &td) const
Same (like operator==)
errorManip< error > abort(error &err)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
bool operator!=(const refinementData &) const
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
bool sameGeometry(const polyMesh &, const refinementData &, const scalar, TrackingData &td) const
Check for identical geometrical data. Used for cyclics checking.
void transform(const polyMesh &, const tensor &, TrackingData &td)
Apply rotation matrix to any coordinates.