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.
Collaboration diagram for refinementDistanceData: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 &) |
| refinementDistanceData | ( | ) | [inline]
|
Construct null.
Definition at line 123 of file refinementDistanceDataI.H.
| refinementDistanceData | ( | const scalar | level0Size, |
| const point & | origin, | ||
| const label | level | ||
| ) | [inline]
|
Construct from count.
Definition at line 131 of file refinementDistanceDataI.H.
| scalar level0Size | ( | ) | const [inline]
|
Definition at line 98 of file refinementDistanceData.H.
| scalar& level0Size | ( | ) | [inline]
|
Definition at line 103 of file refinementDistanceData.H.
| const point& origin | ( | ) | const [inline]
|
Definition at line 108 of file refinementDistanceData.H.
| point& origin | ( | ) | [inline]
|
Definition at line 113 of file refinementDistanceData.H.
| label originLevel | ( | ) | const [inline]
|
Definition at line 118 of file refinementDistanceData.H.
| label& originLevel | ( | ) | [inline]
|
Definition at line 123 of file refinementDistanceData.H.
| Foam::label wantedLevel | ( | const point & | pt ) | const [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().
| bool valid | ( | ) | const [inline]
|
Check whether origin has been changed at all or.
still contains original (invalid) value.
Definition at line 145 of file refinementDistanceDataI.H.
| bool sameGeometry | ( | const polyMesh & | , |
| const refinementDistanceData & | , | ||
| const | scalar | ||
| ) | const [inline]
|
Check for identical geometrical data. Used for cyclics checking.
Definition at line 153 of file refinementDistanceDataI.H.
| void leaveDomain | ( | const polyMesh & | , |
| const polyPatch & | patch, | ||
| const label | patchFaceI, | ||
| const point & | faceCentre | ||
| ) | [inline]
|
Convert any absolute coordinates into relative to (patch)face.
centre
Definition at line 164 of file refinementDistanceDataI.H.
| void enterDomain | ( | const polyMesh & | , |
| const polyPatch & | patch, | ||
| const label | patchFaceI, | ||
| const point & | faceCentre | ||
| ) | [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().
| bool updateCell | ( | const polyMesh & | mesh, |
| const label | thisCellI, | ||
| const label | neighbourFaceI, | ||
| const refinementDistanceData & | neighbourInfo, | ||
| const scalar | tol | ||
| ) | [inline]
|
Influence of neighbouring face.
Definition at line 201 of file refinementDistanceDataI.H.
References primitiveMesh::cellCentres().
| bool updateFace | ( | const polyMesh & | mesh, |
| const label | thisFaceI, | ||
| const label | neighbourCellI, | ||
| const refinementDistanceData & | neighbourInfo, | ||
| const scalar | tol | ||
| ) | [inline]
|
Influence of neighbouring cell.
Definition at line 217 of file refinementDistanceDataI.H.
References primitiveMesh::faceCentres().
| bool updateFace | ( | const polyMesh & | mesh, |
| const label | thisFaceI, | ||
| const refinementDistanceData & | neighbourInfo, | ||
| const scalar | tol | ||
| ) | [inline]
|
Influence of different value on same face.
Definition at line 233 of file refinementDistanceDataI.H.
References primitiveMesh::faceCentres().
| bool operator== | ( | const refinementDistanceData & | rhs ) | const [inline]
|
Definition at line 249 of file refinementDistanceDataI.H.
| bool operator!= | ( | const refinementDistanceData & | rhs ) | const [inline]
|
Definition at line 276 of file refinementDistanceDataI.H.
| Ostream& operator<< | ( | Ostream & | , |
| const refinementDistanceData & | |||
| ) | [friend]
|
| Istream& operator>> | ( | Istream & | , |
| refinementDistanceData & | |||
| ) | [friend]
|