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
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);
'Cuts' a mesh with a surface.
Holds information regarding type of cell. Used in inside/outside determination in cellClassification.
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const cellInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
bool equal(const cellInfo &, TrackingData &td) const
Same (like operator==)
bool operator==(const cellInfo &) const
cellInfo()
Construct null.
bool operator!=(const cellInfo &) const
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const cellInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
void transform(const polyPatch &patch, const label patchFacei, const transformer &transform, TrackingData &td)
Transform across an interface.
bool sameGeometry(const polyMesh &, const cellInfo &, const scalar, TrackingData &td) const
Check for identical geometrical data. Used for cyclics checking.
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
dimensionSet transform(const dimensionSet &)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.