Transfers refinement levels such that slow transition between levels is maintained. Used in meshWave. More...
#include <dynamicMesh/refinementData.H>
Transfers refinement levels such that slow transition between levels is maintained. Used in meshWave.
Definition at line 55 of file refinementData.H.
Public Member Functions | |
| refinementData () | |
| Construct null.
| |
| refinementData (const label refinementCount, const label count) | |
| Construct from count.
| |
| label | refinementCount () const |
| label & | refinementCount () |
| label | count () const |
| label & | count () |
| bool | isRefined () const |
| bool | valid () const |
| Check whether origin has been changed at all or.
| |
| bool | sameGeometry (const polyMesh &, const refinementData &, 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 refinementData &neighbourInfo, const scalar tol) |
| Influence of neighbouring face.
| |
| bool | updateFace (const polyMesh &, const label thisFaceI, const label neighbourCellI, const refinementData &neighbourInfo, const scalar tol) |
| Influence of neighbouring cell.
| |
| bool | updateFace (const polyMesh &, const label thisFaceI, const refinementData &neighbourInfo, const scalar tol) |
| Influence of different value on same face.
| |
| bool | operator== (const refinementData &) const |
| bool | operator!= (const refinementData &) const |
Friends | |
| Ostream & | operator<< (Ostream &, const refinementData &) |
| Istream & | operator>> (Istream &, refinementData &) |
| refinementData | ( | ) | [inline]
|
Construct null.
Definition at line 33 of file refinementDataI.H.
| refinementData | ( | const label | refinementCount, |
| const label | count | ||
| ) | [inline]
|
Construct from count.
Definition at line 42 of file refinementDataI.H.
| label refinementCount | ( | ) | const [inline]
|
Definition at line 80 of file refinementData.H.
Referenced by hexRef8::consistentSlowRefinement(), refinementData::operator==(), refinementData::updateCell(), and refinementData::updateFace().
| label& refinementCount | ( | ) | [inline]
|
Definition at line 85 of file refinementData.H.
| label count | ( | ) | const [inline]
|
Definition at line 90 of file refinementData.H.
Referenced by hexRef8::consistentSlowRefinement(), refinementData::operator==(), refinementData::updateCell(), and refinementData::updateFace().
| label& count | ( | ) | [inline]
|
Definition at line 95 of file refinementData.H.
| bool isRefined | ( | ) | const [inline]
|
Definition at line 100 of file refinementData.H.
Referenced by hexRef8::consistentSlowRefinement(), and refinementData::updateCell().
| bool valid | ( | ) | const [inline]
|
Check whether origin has been changed at all or.
still contains original (invalid) value.
Definition at line 54 of file refinementDataI.H.
| bool sameGeometry | ( | const polyMesh & | , |
| const refinementData & | , | ||
| const | scalar | ||
| ) | const [inline]
|
Check for identical geometrical data. Used for cyclics checking.
Definition at line 62 of file refinementDataI.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 74 of file refinementDataI.H.
| void enterDomain | ( | const polyMesh & | , |
| const polyPatch & | patch, | ||
| const label | patchFaceI, | ||
| const point & | faceCentre | ||
| ) | [inline]
|
Reverse of leaveDomain.
Definition at line 94 of file refinementDataI.H.
Apply rotation matrix to any coordinates.
Definition at line 85 of file refinementDataI.H.
| bool updateCell | ( | const polyMesh & | , |
| const label | thisCellI, | ||
| const label | neighbourFaceI, | ||
| const refinementData & | neighbourInfo, | ||
| const scalar | tol | ||
| ) | [inline]
|
Influence of neighbouring face.
Definition at line 105 of file refinementDataI.H.
References Foam::abort(), refinementData::count(), Foam::FatalError, FatalErrorIn, refinementData::isRefined(), Foam::max(), and refinementData::refinementCount().
| bool updateFace | ( | const polyMesh & | , |
| const label | thisFaceI, | ||
| const label | neighbourCellI, | ||
| const refinementData & | neighbourInfo, | ||
| const scalar | tol | ||
| ) | [inline]
|
Influence of neighbouring cell.
Definition at line 165 of file refinementDataI.H.
References refinementData::count(), and refinementData::refinementCount().
Referenced by hexRef8::consistentSlowRefinement().
| bool updateFace | ( | const polyMesh & | , |
| const label | thisFaceI, | ||
| const refinementData & | neighbourInfo, | ||
| const scalar | tol | ||
| ) | [inline]
|
Influence of different value on same face.
Definition at line 198 of file refinementDataI.H.
References refinementData::count(), and refinementData::refinementCount().
| bool operator== | ( | const refinementData & | rhs ) | const [inline]
|
Definition at line 230 of file refinementDataI.H.
References refinementData::count(), and refinementData::refinementCount().
| bool operator!= | ( | const refinementData & | rhs ) | const [inline]
|
Definition at line 237 of file refinementDataI.H.
| Ostream& operator<< | ( | Ostream & | , |
| const refinementData & | |||
| ) | [friend]
|
| Istream& operator>> | ( | Istream & | , |
| refinementData & | |||
| ) | [friend]
|