Helper class used by fvc::sweep function. More...
Public Member Functions | |
sweepData () | |
Construct null. More... | |
sweepData (const scalar value, const point &origin) | |
Construct from component. More... | |
scalar | value () const |
Return value. More... | |
const point & | origin () const |
Return origin. More... | |
template<class TrackingData > | |
bool | valid (TrackingData &td) const |
Check whether origin has been changed at all or. More... | |
template<class TrackingData > | |
bool | sameGeometry (const polyMesh &, const sweepData &, const scalar, TrackingData &td) const |
Check for identical geometrical data. More... | |
template<class TrackingData > | |
void | leaveDomain (const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td) |
Convert any absolute coordinates into relative to. More... | |
template<class TrackingData > | |
void | enterDomain (const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td) |
Reverse of leaveDomain. More... | |
template<class TrackingData > | |
void | transform (const polyMesh &, const tensor &, TrackingData &td) |
Apply rotation matrix to any coordinates. More... | |
template<class TrackingData > | |
bool | updateCell (const polyMesh &, const label thisCelli, const label neighbourFacei, const sweepData &svf, const scalar tol, TrackingData &td) |
Influence of neighbouring face. More... | |
template<class TrackingData > | |
bool | updateFace (const polyMesh &, const label thisFacei, const label neighbourCelli, const sweepData &svf, const scalar tol, TrackingData &td) |
Influence of neighbouring cell. More... | |
template<class TrackingData > | |
bool | updateFace (const polyMesh &, const label thisFacei, const sweepData &svf, const scalar tol, TrackingData &td) |
Influence of different value on same face. More... | |
template<class TrackingData > | |
bool | equal (const sweepData &, TrackingData &td) const |
Same (like operator==) More... | |
void | operator= (const scalar value) |
bool | operator== (const sweepData &) const |
bool | operator!= (const sweepData &) const |
Friends | |
Ostream & | operator<< (Ostream &os, const sweepData &svf) |
Istream & | operator>> (Istream &is, sweepData &svf) |
|
inline |
Construct null.
Definition at line 74 of file sweepDataI.H.
Construct from component.
Definition at line 81 of file sweepDataI.H.
|
inline |
Return value.
Definition at line 82 of file sweepData.H.
Referenced by sweepData::operator=().
|
inline |
Return origin.
Definition at line 88 of file sweepData.H.
References sweepData::enterDomain(), sweepData::equal(), sweepData::leaveDomain(), sweepData::operator!=(), sweepData::operator=(), sweepData::operator==(), sweepData::sameGeometry(), sweepData::transform(), sweepData::updateCell(), sweepData::updateFace(), and sweepData::valid().
Referenced by sweepData::operator==().
|
inline |
Check whether origin has been changed at all or.
still contains original (invalid) value
Definition at line 91 of file sweepDataI.H.
References sweepData::sameGeometry().
Referenced by sweepData::origin().
|
inline |
Check for identical geometrical data.
Used for cyclics checking
Definition at line 99 of file sweepDataI.H.
References sweepData::leaveDomain().
Referenced by sweepData::origin(), and sweepData::valid().
|
inline |
Convert any absolute coordinates into relative to.
(patch)face centre
Definition at line 112 of file sweepDataI.H.
References sweepData::transform().
Referenced by sweepData::origin(), and sweepData::sameGeometry().
|
inline |
Reverse of leaveDomain.
Definition at line 138 of file sweepDataI.H.
References sweepData::updateCell().
Referenced by sweepData::origin(), and sweepData::transform().
Apply rotation matrix to any coordinates.
Definition at line 126 of file sweepDataI.H.
References sweepData::enterDomain(), and Foam::transform().
Referenced by sweepData::leaveDomain(), and sweepData::origin().
|
inline |
Influence of neighbouring face.
Definition at line 153 of file sweepDataI.H.
References primitiveMesh::cellCentres(), and sweepData::updateFace().
Referenced by sweepData::enterDomain(), and sweepData::origin().
|
inline |
Influence of neighbouring cell.
Definition at line 168 of file sweepDataI.H.
References primitiveMesh::faceCentres().
Referenced by sweepData::origin(), and sweepData::updateCell().
|
inline |
Influence of different value on same face.
Definition at line 184 of file sweepDataI.H.
References sweepData::equal(), and primitiveMesh::faceCentres().
|
inline |
Same (like operator==)
Definition at line 198 of file sweepDataI.H.
References sweepData::operator==().
Referenced by sweepData::origin(), and sweepData::updateFace().
|
inline |
Definition at line 210 of file sweepDataI.H.
References sweepData::value().
Referenced by sweepData::origin().
|
inline |
Definition at line 219 of file sweepDataI.H.
References sweepData::origin().
Referenced by sweepData::equal(), and sweepData::origin().
|
inline |
Definition at line 228 of file sweepDataI.H.
Referenced by sweepData::origin().
Definition at line 197 of file sweepData.H.
Definition at line 205 of file sweepData.H.