Transfers refinement levels such that slow transition between levels is maintained. Used in FaceCellWave. More...
Public Member Functions | |
refinementDistanceData () | |
Construct null. 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. Walks out from. More... | |
template<class TrackingData > | |
bool | valid (TrackingData &) const |
Check whether origin has been changed at all or. More... | |
template<class TrackingData > | |
bool | sameGeometry (const polyMesh &, const refinementDistanceData &, const scalar, TrackingData &) const |
Check for identical geometrical data. Used for cyclics checking. More... | |
template<class TrackingData > | |
void | transform (const polyPatch &patch, const label patchFacei, const transformer &transform, TrackingData &td) |
Transform across an interface. 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 |
Same (like operator==) More... | |
bool | operator== (const refinementDistanceData &) const |
bool | operator!= (const refinementDistanceData &) const |
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 64 of file refinementDistanceData.H.
|
inline |
Construct null.
Definition at line 126 of file refinementDistanceDataI.H.
|
inline |
Construct from count.
Definition at line 133 of file refinementDistanceDataI.H.
|
inline |
Definition at line 109 of file refinementDistanceData.H.
|
inline |
Definition at line 114 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 129 of file refinementDistanceData.H.
|
inline |
Definition at line 134 of file refinementDistanceData.H.
|
inline |
Calculates the wanted level at a given point. Walks out from.
the origin.
Definition at line 33 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 149 of file refinementDistanceDataI.H.
Referenced by refinementDistanceData::equal().
|
inline |
Check for identical geometrical data. Used for cyclics checking.
Definition at line 157 of file refinementDistanceDataI.H.
|
inline |
Transform across an interface.
Definition at line 170 of file refinementDistanceDataI.H.
References Foam::transform().
|
inline |
Influence of neighbouring face.
Definition at line 183 of file refinementDistanceDataI.H.
References primitiveMesh::cellCentres(), and Foam::pos().
|
inline |
Influence of neighbouring cell.
Definition at line 201 of file refinementDistanceDataI.H.
References primitiveMesh::faceCentres(), and Foam::pos().
|
inline |
Influence of different value on same face.
Definition at line 219 of file refinementDistanceDataI.H.
References primitiveMesh::faceCentres(), and Foam::pos().
|
inline |
Same (like operator==)
Definition at line 235 of file refinementDistanceDataI.H.
References Foam::operator==(), Foam::blendedInterfacialModel::valid(), and refinementDistanceData::valid().
|
inline |
Definition at line 261 of file refinementDistanceDataI.H.
|
inline |
Definition at line 274 of file refinementDistanceDataI.H.
|
friend |
|
friend |