Transfers refinement levels such that slow transition between levels is maintained. Used in FaceCellWave. More...
Public Member Functions | |
refinementDistanceData () | |
Default construct. More... | |
refinementDistanceData (const scalar level0Size, const point &origin, const label level) | |
Construct from count. More... | |
scalar | level0Size () const |
scalar & | level0Size () |
const point & | origin () const |
point & | origin () |
label | originLevel () const |
label & | originLevel () |
label | wantedLevel (const point &pt) const |
Calculates the wanted level at a given point. More... | |
template<class TrackingData > | |
bool | valid (TrackingData &) const |
Changed or contains original (invalid) value. More... | |
template<class TrackingData > | |
bool | sameGeometry (const polyMesh &, const refinementDistanceData &, const scalar, TrackingData &) const |
Check for identical geometrical data (eg, cyclics checking) More... | |
template<class TrackingData > | |
void | leaveDomain (const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &) |
Convert any absolute coordinates into relative to (patch)face. More... | |
template<class TrackingData > | |
void | enterDomain (const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &) |
Reverse of leaveDomain. More... | |
template<class TrackingData > | |
void | transform (const polyMesh &, const tensor &, TrackingData &) |
Apply rotation matrix to any coordinates. More... | |
template<class TrackingData > | |
bool | updateCell (const polyMesh &, const label thisCelli, const label neighbourFacei, const refinementDistanceData &neighbourInfo, const scalar tol, TrackingData &) |
Influence of neighbouring face. More... | |
template<class TrackingData > | |
bool | updateFace (const polyMesh &, const label thisFacei, const label neighbourCelli, const refinementDistanceData &neighbourInfo, const scalar tol, TrackingData &) |
Influence of neighbouring cell. More... | |
template<class TrackingData > | |
bool | updateFace (const polyMesh &, const label thisFacei, const refinementDistanceData &neighbourInfo, const scalar tol, TrackingData &) |
Influence of different value on same face. More... | |
template<class TrackingData > | |
bool | equal (const refinementDistanceData &, TrackingData &) const |
Test for equality, with TrackingData. More... | |
bool | operator== (const refinementDistanceData &) const |
Test for equality. More... | |
bool | operator!= (const refinementDistanceData &) const |
Test for inequality. More... | |
Friends | |
Ostream & | operator<< (Ostream &, const refinementDistanceData &) |
Istream & | operator>> (Istream &, refinementDistanceData &) |
Transfers refinement levels such that slow transition between levels is maintained. Used in FaceCellWave.
Definition at line 59 of file refinementDistanceData.H.
|
inline |
Default construct.
Definition at line 119 of file refinementDistanceDataI.H.
|
inline |
Construct from count.
Definition at line 126 of file refinementDistanceDataI.H.
|
inline |
Definition at line 115 of file refinementDistanceData.H.
|
inline |
Definition at line 119 of file refinementDistanceData.H.
|
inline |
Definition at line 124 of file refinementDistanceData.H.
|
inline |
Definition at line 128 of file refinementDistanceData.H.
|
inline |
Definition at line 133 of file refinementDistanceData.H.
|
inline |
Definition at line 137 of file refinementDistanceData.H.
|
inline |
Calculates the wanted level at a given point.
Walks out from the origin.
Definition at line 28 of file refinementDistanceDataI.H.
References Foam::magSqr(), and Foam::sqr().
|
inline |
Changed or contains original (invalid) value.
Definition at line 141 of file refinementDistanceDataI.H.
Referenced by refinementDistanceData::equal().
|
inline |
Check for identical geometrical data (eg, cyclics checking)
Definition at line 150 of file refinementDistanceDataI.H.
|
inline |
Convert any absolute coordinates into relative to (patch)face.
centre
Definition at line 163 of file refinementDistanceDataI.H.
|
inline |
Reverse of leaveDomain.
Definition at line 190 of file refinementDistanceDataI.H.
Apply rotation matrix to any coordinates.
Definition at line 177 of file refinementDistanceDataI.H.
References Foam::transform().
|
inline |
Influence of neighbouring face.
Definition at line 206 of file refinementDistanceDataI.H.
References primitiveMesh::cellCentres(), mesh, Foam::pos(), td(), and update().
|
inline |
Influence of neighbouring cell.
Definition at line 224 of file refinementDistanceDataI.H.
References primitiveMesh::faceCentres(), mesh, Foam::pos(), td(), and update().
|
inline |
Influence of different value on same face.
Definition at line 242 of file refinementDistanceDataI.H.
References primitiveMesh::faceCentres(), mesh, Foam::pos(), td(), and update().
|
inline |
Test for equality, with TrackingData.
Definition at line 258 of file refinementDistanceDataI.H.
References Foam::operator==(), td(), and refinementDistanceData::valid().
|
inline |
Test for equality.
Definition at line 277 of file refinementDistanceDataI.H.
|
inline |
Test for inequality.
Definition at line 289 of file refinementDistanceDataI.H.
|
friend |
|
friend |