Go to the documentation of this file.
32 template<
class TrackingData>
36 const label thisFaceI,
37 const label thisCellI,
38 const label neighbourFaceI,
39 const label neighbourCellI,
45 (w2.
type() == cellClassification::NOTSET)
46 || (w2.
type() == cellClassification::CUT)
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
60 if (
type() == cellClassification::NOTSET)
67 if (
type() == cellClassification::CUT)
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
118 template<
class TrackingData>
126 template<
class TrackingData>
141 template<
class TrackingData>
146 const label patchFaceI,
147 const point& faceCentre,
154 template<
class TrackingData>
165 template<
class TrackingData>
170 const label patchFaceI,
171 const point& faceCentre,
178 template<
class TrackingData>
182 const label thisCellI,
183 const label neighbourFaceI,
202 template<
class TrackingData>
206 const label thisFaceI,
207 const label neighbourCellI,
225 template<
class TrackingData>
229 const label thisFaceI,
247 template<
class TrackingData>
268 return !(*
this == rhs);
bool updateFace(const polyMesh &, const label thisFaceI, const label neighbourCellI, const cellInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
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.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
Ostream & endl(Ostream &os)
Add newline and flush stream.
void leaveDomain(const polyMesh &, const polyPatch &patch, const label patchFaceI, const point &faceCentre, TrackingData &td)
Convert any absolute coordinates into relative to (patch)face.
Mesh consisting of general polyhedral cells.
bool sameGeometry(const polyMesh &, const cellInfo &, const scalar, TrackingData &td) const
Check for identical geometrical data. Used for cyclics checking.
void transform(const polyMesh &, const tensor &rotTensor, TrackingData &td)
Apply rotation matrix to any coordinates.
void enterDomain(const polyMesh &, const polyPatch &patch, const label patchFaceI, const point &faceCentre, TrackingData &td)
Reverse of leaveDomain.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool updateCell(const polyMesh &, const label thisCellI, const label neighbourFaceI, const cellInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
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.
Holds information regarding type of cell. Used in inside/outside determination in cellClassification.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
bool operator==(const cellInfo &) const
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
cellInfo()
Construct null.
bool operator!=(const cellInfo &) const
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
bool equal(const cellInfo &, TrackingData &td) const
Same (like operator==)