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);
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
cellInfo()
Default construct - as cellClassification::NOTSET.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Holds information regarding type of cell. Used in inside/outside determination in cellClassification...
void enterDomain(const polyMesh &, const polyPatch &patch, const label patchFacei, const point &faceCentre, TrackingData &td)
Reverse of leaveDomain.
bool equal(const cellInfo &, TrackingData &td) const
Test for equality, with TrackingData.
'Cuts' a mesh with a surface.
bool valid(TrackingData &td) const
Changed or contains original (invalid) value.
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)
void leaveDomain(const polyMesh &, const polyPatch &patch, const label patchFacei, const point &faceCentre, TrackingData &td)
Convert any absolute coordinates into relative to (patch)face.
bool sameGeometry(const polyMesh &, const cellInfo &, const scalar, TrackingData &td) const
Check for identical geometrical data (eg, cyclics checking)
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
void transform(const polyMesh &, const tensor &rotTensor, TrackingData &td)
Apply rotation matrix to any coordinates.
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const cellInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
const std::string patch
OpenFOAM patch number as a std::string.
Mesh consisting of general polyhedral cells.
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.
Tensor of scalars, i.e. Tensor<scalar>.