Go to the documentation of this file.
35 template<
class TrackingData>
36 inline bool Foam::cellInfo::update
39 const label thisFacei,
40 const label thisCelli,
41 const label neighbourFacei,
42 const label neighbourCelli,
53 <<
"Problem: trying to propagate NOTSET or CUT type:" <<
w2.type()
54 <<
" into cell/face with type:" <<
type() <<
endl
55 <<
"thisFacei:" << thisFacei
56 <<
" thisCelli:" << thisCelli
57 <<
" neighbourFacei:" << neighbourFacei
58 <<
" neighbourCelli:" << neighbourCelli
84 <<
"Problem: trying to propagate conflicting types:" <<
w2.type()
85 <<
" into cell/face with type:" <<
type() <<
endl
86 <<
"thisFacei:" << thisFacei
87 <<
" thisCelli:" << thisCelli
88 <<
" neighbourFacei:" << neighbourFacei
89 <<
" neighbourCelli:" << neighbourCelli
112 template<
class TrackingData>
120 template<
class TrackingData>
134 template<
class TrackingData>
139 const label patchFacei,
140 const point& faceCentre,
147 template<
class TrackingData>
158 template<
class TrackingData>
163 const label patchFacei,
164 const point& faceCentre,
171 template<
class TrackingData>
175 const label thisCelli,
176 const label neighbourFacei,
195 template<
class TrackingData>
199 const label thisFacei,
200 const label neighbourCelli,
219 template<
class TrackingData>
223 const label thisFacei,
241 template<
class TrackingData>
254 inline bool Foam::cellInfo::operator==
259 return type_ == rhs.type_;
263 inline bool Foam::cellInfo::operator!=
268 return !(*
this == rhs);
A templated (3 x 3) tensor of objects of <T> derived from MatrixSpace.
Ostream & endl(Ostream &os)
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const cellInfo &neighbourInfo, const scalar tol, TrackingData &td)
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const cellInfo &neighbourInfo, const scalar tol, TrackingData &td)
Mesh consisting of general polyhedral cells.
bool sameGeometry(const polyMesh &, const cellInfo &, const scalar, TrackingData &td) const
void transform(const polyMesh &, const tensor &rotTensor, TrackingData &td)
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
A patch is a list of labels that address the faces in the global face list.
errorManip< error > abort(error &err)
'Cuts' a mesh with a surface.
void enterDomain(const polyMesh &, const polyPatch &patch, const label patchFacei, const point &faceCentre, TrackingData &td)
Holds information regarding type of cell. Used in inside/outside determination in cellClassification.
#define FatalErrorInFunction
bool valid(TrackingData &td) const
void leaveDomain(const polyMesh &, const polyPatch &patch, const label patchFacei, const point &faceCentre, TrackingData &td)
bool equal(const cellInfo &, TrackingData &td) const