46 template<
class TrackingData>
49 return tgtCelli_ != -2;
54 template<
class TrackingData>
67 template<
class TrackingData>
72 const label patchFacei,
73 const point& faceCentre,
79 template<
class TrackingData>
90 template<
class TrackingData>
95 const label patchFacei,
96 const point& faceCentre,
103 template<
class TrackingData>
107 const label thisCelli,
108 const label neighbourFacei,
119 const label tgti = neighbourInfo.tgtCelli_;
129 const labelList& tgtNbrs =
td.tgtMesh_.cellCells(tgti);
130 for (
const label tgti : tgtNbrs)
148 template<
class TrackingData>
152 const label thisFacei,
153 const label neighbourCelli,
161 tgtCelli_ = neighbourInfo.tgtCelli_;
170 template<
class TrackingData>
174 const label thisFacei,
182 tgtCelli_ = neighbourInfo.tgtCelli_;
190 template<
class TrackingData>
210 inline bool Foam::meshToMeshData::operator==
212 const meshToMeshData& rhs
215 return tgtCelli_ == rhs.tgtCelli_;
219 inline bool Foam::meshToMeshData::operator!=
224 return !(*
this == rhs);
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const meshToMeshData &neighbourInfo, const scalar tol, TrackingData &)
Influence of neighbouring cell.
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
void enterDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &)
Reverse of leaveDomain.
bool sameGeometry(const polyMesh &, const meshToMeshData &, const scalar, TrackingData &) const
Check for identical geometrical data (eg, cyclics checking)
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &)
Convert absolute coordinates into relative to (patch)face centre.
bool valid(TrackingData &) const
Changed or contains original (invalid) value.
bool equal(const meshToMeshData &, TrackingData &) const
Test for equality, with TrackingData.
meshToMeshData()
Default construct.
const vectorField & cellCentres() const
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const meshToMeshData &neighbourInfo, const scalar tol, TrackingData &)
Influence of neighbouring face.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
Transfers refinement levels such that slow transition between levels is maintained. Used in FaceCellWave.
const std::string patch
OpenFOAM patch number as a std::string.
void transform(const polyMesh &, const tensor &, TrackingData &)
Apply rotation matrix to any coordinates.
Mesh consisting of general polyhedral cells.
List< label > labelList
A List of labels.
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>.