Holds information regarding type of cell. Used in inside/outside determination in cellClassification. More...
Public Member Functions | |
cellInfo () | |
Construct null. More... | |
cellInfo (const label) | |
Construct from cType. More... | |
cellInfo (const cellInfo &) | |
Construct as copy. More... | |
label | type () const |
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 cellInfo &, const scalar, TrackingData &td) const |
Check for identical geometrical data. Used for cyclics checking. More... | |
template<class TrackingData > | |
void | leaveDomain (const polyMesh &, const polyPatch &patch, const label patchFaceI, const point &faceCentre, TrackingData &td) |
Convert any absolute coordinates into relative to (patch)face. More... | |
template<class TrackingData > | |
void | enterDomain (const polyMesh &, const polyPatch &patch, const label patchFaceI, const point &faceCentre, TrackingData &td) |
Reverse of leaveDomain. More... | |
template<class TrackingData > | |
void | transform (const polyMesh &, const tensor &rotTensor, TrackingData &td) |
Apply rotation matrix to any coordinates. More... | |
template<class TrackingData > | |
bool | updateCell (const polyMesh &, const label thisCellI, const label neighbourFaceI, const cellInfo &neighbourInfo, const scalar tol, TrackingData &td) |
Influence of neighbouring face. More... | |
template<class TrackingData > | |
bool | updateFace (const polyMesh &, const label thisFaceI, const label neighbourCellI, const cellInfo &neighbourInfo, const scalar tol, TrackingData &td) |
Influence of neighbouring cell. More... | |
template<class TrackingData > | |
bool | updateFace (const polyMesh &, const label thisFaceI, const cellInfo &neighbourInfo, const scalar tol, TrackingData &td) |
Influence of different value on same face. More... | |
template<class TrackingData > | |
bool | equal (const cellInfo &, TrackingData &td) const |
Same (like operator==) More... | |
bool | operator== (const cellInfo &) const |
bool | operator!= (const cellInfo &) const |
Private Member Functions | |
template<class TrackingData > | |
bool | update (const cellInfo &w2, const label thisFaceI, const label thisCellI, const label neighbourFaceI, const label neighbourCellI, TrackingData &td) |
Update current cell/face type with neighbouring. More... | |
Private Attributes | |
label | type_ |
Friends | |
Ostream & | operator<< (Ostream &, const cellInfo &) |
Istream & | operator>> (Istream &, cellInfo &) |
Holds information regarding type of cell. Used in inside/outside determination in cellClassification.
Definition at line 54 of file cellInfo.H.
|
inline |
Construct null.
Definition at line 96 of file cellInfoI.H.
Construct from cType.
Definition at line 103 of file cellInfoI.H.
Construct as copy.
Definition at line 110 of file cellInfoI.H.
|
inlineprivate |
Update current cell/face type with neighbouring.
type. Return true if information needs to propagate, false otherwise.
Definition at line 34 of file cellInfoI.H.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, cellInfo::type(), and Foam::type().
|
inline |
Definition at line 94 of file cellInfo.H.
References cellInfo::type_.
Referenced by cellInfo::operator==(), and cellInfo::update().
|
inline |
Check whether origin has been changed at all or.
still contains original (invalid) value.
Definition at line 119 of file cellInfoI.H.
References cellClassification::NOTSET.
Referenced by FaceCellWave< Type, int >::updateCell().
|
inline |
Check for identical geometrical data. Used for cyclics checking.
Definition at line 128 of file cellInfoI.H.
|
inline |
Convert any absolute coordinates into relative to (patch)face.
centre
Definition at line 143 of file cellInfoI.H.
|
inline |
Reverse of leaveDomain.
Definition at line 167 of file cellInfoI.H.
Apply rotation matrix to any coordinates.
Definition at line 156 of file cellInfoI.H.
|
inline |
Influence of neighbouring face.
Definition at line 180 of file cellInfoI.H.
Referenced by FaceCellWave< Type, int >::updateCell().
|
inline |
Influence of neighbouring cell.
Definition at line 204 of file cellInfoI.H.
|
inline |
Influence of different value on same face.
Definition at line 227 of file cellInfoI.H.
|
inline |
Same (like operator==)
Definition at line 249 of file cellInfoI.H.
References Foam::operator==().
|
inline |
Definition at line 260 of file cellInfoI.H.
References cellInfo::type(), and Foam::type().
|
inline |
Definition at line 266 of file cellInfoI.H.
|
private |
Definition at line 58 of file cellInfo.H.
Referenced by cellInfo::type().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.