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 |
Private Member Functions | |
template<class TrackingData > | |
bool | update (const sweepData &svf, const point &position, const scalar tol, TrackingData &td) |
Update - gets information from neighbouring face/cell and. More... | |
Private Attributes | |
scalar | value_ |
point | origin_ |
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.
|
inlineprivate |
Update - gets information from neighbouring face/cell and.
uses this to update itself (if necessary) and return true
Definition at line 32 of file sweepDataI.H.
References Foam::magSqr(), sweepData::origin(), and sweepData::value().
|
inline |
Return value.
Definition at line 82 of file sweepData.H.
References sweepData::value_.
Referenced by sweepData::update().
|
inline |
Return origin.
Definition at line 88 of file sweepData.H.
References sweepData::origin_.
Referenced by sweepData::operator==(), and sweepData::update().
|
inline |
Check whether origin has been changed at all or.
still contains original (invalid) value
Definition at line 91 of file sweepDataI.H.
|
inline |
Check for identical geometrical data.
Used for cyclics checking
Definition at line 99 of file sweepDataI.H.
|
inline |
Convert any absolute coordinates into relative to.
(patch)face centre
Definition at line 112 of file sweepDataI.H.
|
inline |
Reverse of leaveDomain.
Definition at line 138 of file sweepDataI.H.
Apply rotation matrix to any coordinates.
Definition at line 126 of file sweepDataI.H.
References Foam::transform().
|
inline |
Influence of neighbouring face.
Definition at line 153 of file sweepDataI.H.
References primitiveMesh::cellCentres(), and mesh.
|
inline |
Influence of neighbouring cell.
Definition at line 168 of file sweepDataI.H.
References primitiveMesh::faceCentres(), and mesh.
|
inline |
Influence of different value on same face.
Definition at line 184 of file sweepDataI.H.
References primitiveMesh::faceCentres(), and mesh.
|
inline |
Same (like operator==)
Definition at line 198 of file sweepDataI.H.
References Foam::operator==().
|
inline |
Definition at line 210 of file sweepDataI.H.
|
inline |
Definition at line 219 of file sweepDataI.H.
References sweepData::origin().
|
inline |
Definition at line 228 of file sweepDataI.H.
Definition at line 197 of file sweepData.H.
Definition at line 205 of file sweepData.H.
|
private |
Definition at line 49 of file sweepData.H.
Referenced by sweepData::value().
|
private |
Definition at line 50 of file sweepData.H.
Referenced by sweepData::origin().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.