Go to the documentation of this file.
34 template<
class TrackingData>
35 inline bool Foam::cellInfo::update
38 const label thisFacei,
39 const label thisCelli,
40 const label neighbourFacei,
41 const label neighbourCelli,
52 <<
"Problem: trying to propagate NOTSET or CUT type:" <<
w2.type()
53 <<
" into cell/face with type:" <<
type() <<
endl
54 <<
"thisFacei:" << thisFacei
55 <<
" thisCelli:" << thisCelli
56 <<
" neighbourFacei:" << neighbourFacei
57 <<
" neighbourCelli:" << neighbourCelli
83 <<
"Problem: trying to propagate conflicting types:" <<
w2.type()
84 <<
" into cell/face with type:" <<
type() <<
endl
85 <<
"thisFacei:" << thisFacei
86 <<
" thisCelli:" << thisCelli
87 <<
" neighbourFacei:" << neighbourFacei
88 <<
" neighbourCelli:" << neighbourCelli
120 template<
class TrackingData>
128 template<
class TrackingData>
143 template<
class TrackingData>
148 const label patchFacei,
149 const point& faceCentre,
156 template<
class TrackingData>
167 template<
class TrackingData>
172 const label patchFacei,
173 const point& faceCentre,
180 template<
class TrackingData>
184 const label thisCelli,
185 const label neighbourFacei,
204 template<
class TrackingData>
208 const label thisFacei,
209 const label neighbourCelli,
227 template<
class TrackingData>
231 const label thisFacei,
249 template<
class TrackingData>
270 return !(*
this == rhs);
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const cellInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
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.
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.
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< 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)
Reverse of leaveDomain.
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
const std::string patch
OpenFOAM patch number as a std::string.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
cellInfo()
Construct null.
bool operator!=(const cellInfo &) const
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 equal(const cellInfo &, TrackingData &td) const
Same (like operator==)