32 template<
class TrackingData>
33 inline bool Foam::cellInfo::update
36 const label thisFacei,
37 const label thisCelli,
38 const label neighbourFacei,
39 const label neighbourCelli,
50 <<
"Problem: trying to propagate NOTSET or CUT type:" << w2.type()
51 <<
" into cell/face with type:" <<
type() <<
endl 52 <<
"thisFacei:" << thisFacei
53 <<
" thisCelli:" << thisCelli
54 <<
" neighbourFacei:" << neighbourFacei
55 <<
" neighbourCelli:" << neighbourCelli
73 if (
type() == w2.type())
81 <<
"Problem: trying to propagate conflicting types:" << w2.type()
82 <<
" into cell/face with type:" <<
type() <<
endl 83 <<
"thisFacei:" << thisFacei
84 <<
" thisCelli:" << thisCelli
85 <<
" neighbourFacei:" << neighbourFacei
86 <<
" neighbourCelli:" << neighbourCelli
109 template<
class TrackingData>
116 template<
class TrackingData>
130 template<
class TrackingData>
134 const label patchFacei,
141 template<
class TrackingData>
145 const label thisCelli,
146 const label neighbourFacei,
164 template<
class TrackingData>
168 const label thisFacei,
169 const label neighbourCelli,
187 template<
class TrackingData>
191 const label thisFacei,
209 template<
class TrackingData>
230 return !(*
this == rhs);
FvWallInfoData< WallInfo, label > label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
cellInfo()
Construct null.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Holds information regarding type of cell. Used in inside/outside determination in cellClassification...
bool equal(const cellInfo &, TrackingData &td) const
Same (like operator==)
void transform(const polyPatch &patch, const label patchFacei, const transformer &transform, TrackingData &td)
Transform across an interface.
bool operator==(const cellInfo &) const
'Cuts' a mesh with a surface.
bool operator!=(const cellInfo &) const
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const cellInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
errorManip< error > abort(error &err)
bool sameGeometry(const polyMesh &, const cellInfo &, const scalar, TrackingData &td) const
Check for identical geometrical data. Used for cyclics checking.
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const cellInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.