Transfers refinement levels such that slow transition between levels is maintained. Used in FaceCellWave. More...
#include <dynamicMesh/refinementDistanceData.H>
Transfers refinement levels such that slow transition between levels is maintained. Used in FaceCellWave.
Definition at line 55 of file refinementDistanceData.H.
Public Member Functions | |
| refinementDistanceData () | |
| Construct null. | |
| refinementDistanceData (const scalar level0Size, const point &origin, const label level) | |
| Construct from count. | |
| 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. Walks out from. | |
| bool | valid () const |
| Check whether origin has been changed at all or. | |
| bool | sameGeometry (const polyMesh &, const refinementDistanceData &, const scalar) const |
| Check for identical geometrical data. Used for cyclics checking. | |
| void | leaveDomain (const polyMesh &, const polyPatch &, const label patchFaceI, const point &faceCentre) |
| Convert any absolute coordinates into relative to (patch)face. | |
| void | enterDomain (const polyMesh &, const polyPatch &, const label patchFaceI, const point &faceCentre) |
| Reverse of leaveDomain. | |
| void | transform (const polyMesh &, const tensor &) |
| Apply rotation matrix to any coordinates. | |
| bool | updateCell (const polyMesh &, const label thisCellI, const label neighbourFaceI, const refinementDistanceData &neighbourInfo, const scalar tol) |
| Influence of neighbouring face. | |
| bool | updateFace (const polyMesh &, const label thisFaceI, const label neighbourCellI, const refinementDistanceData &neighbourInfo, const scalar tol) |
| Influence of neighbouring cell. | |
| bool | updateFace (const polyMesh &, const label thisFaceI, const refinementDistanceData &neighbourInfo, const scalar tol) |
| Influence of different value on same face. | |
| bool | operator== (const refinementDistanceData &) const |
| bool | operator!= (const refinementDistanceData &) const |
Friends | |
| Ostream & | operator<< (Ostream &, const refinementDistanceData &) |
| Istream & | operator>> (Istream &, refinementDistanceData &) |
|
inline |
Construct null.
Definition at line 123 of file refinementDistanceDataI.H.
|
inline |
Construct from count.
Definition at line 131 of file refinementDistanceDataI.H.
|
inline |
Definition at line 98 of file refinementDistanceData.H.
|
inline |
Definition at line 103 of file refinementDistanceData.H.
|
inline |
Definition at line 108 of file refinementDistanceData.H.
|
inline |
Definition at line 113 of file refinementDistanceData.H.
|
inline |
Definition at line 118 of file refinementDistanceData.H.
|
inline |
Definition at line 123 of file refinementDistanceData.H.
|
inline |
Calculates the wanted level at a given point. Walks out from.
the origin.
Definition at line 32 of file refinementDistanceDataI.H.
References Foam::magSqr(), and Foam::sqr().
|
inline |
Check whether origin has been changed at all or.
still contains original (invalid) value.
Definition at line 145 of file refinementDistanceDataI.H.
|
inline |
Check for identical geometrical data. Used for cyclics checking.
Definition at line 153 of file refinementDistanceDataI.H.
|
inline |
Convert any absolute coordinates into relative to (patch)face.
centre
Definition at line 164 of file refinementDistanceDataI.H.
|
inline |
Reverse of leaveDomain.
Definition at line 187 of file refinementDistanceDataI.H.
Apply rotation matrix to any coordinates.
Definition at line 176 of file refinementDistanceDataI.H.
References Foam::transform().
|
inline |
Influence of neighbouring face.
Definition at line 201 of file refinementDistanceDataI.H.
References primitiveMesh::cellCentres().
|
inline |
Influence of neighbouring cell.
Definition at line 217 of file refinementDistanceDataI.H.
References primitiveMesh::faceCentres().
|
inline |
Influence of different value on same face.
Definition at line 233 of file refinementDistanceDataI.H.
References primitiveMesh::faceCentres().
|
inline |
Definition at line 249 of file refinementDistanceDataI.H.
|
inline |
Definition at line 276 of file refinementDistanceDataI.H.
|
friend |
|
friend |