63 template<
class TrackingData>
70 template<
class TrackingData>
79 return layer_ == l.layer_;
83 template<
class TrackingData>
87 const label patchFacei,
94 template<
class TrackingData>
98 const label thisCelli,
107 layer_ = neighbourInfo.layer_ + 1;
111 if (layer_ > neighbourInfo.layer_)
113 weight_ += neighbourInfo.weight_;
124 template<
class TrackingData>
129 const label neighbourCelli,
137 layer_ = neighbourInfo.layer_ + 1;
140 if (layer_ > neighbourInfo.layer_)
142 weight_ = neighbourInfo.weight_;
153 template<
class TrackingData>
163 if (layer_ < neighbourInfo.layer_)
165 layer_ = neighbourInfo.layer_;
166 weight_ = neighbourInfo.weight_;
173 template<
class TrackingData>
186 inline bool Foam::meshPhiPreCorrectInfo::operator==
191 return layer_ == rhs.layer_ && weight_ == rhs.weight_;
195 inline bool Foam::meshPhiPreCorrectInfo::operator!=
200 return !(*
this == rhs);
214 return is >> l.layer_ >> l.weight_;
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Mesh data needed to do the Finite Volume discretisation.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
bool updateCell(const fvMesh &mesh, const label thisCelli, const labelPair &neighbourPatchAndFacei, const meshPhiPreCorrectInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
bool equal(const meshPhiPreCorrectInfo &, TrackingData &td) const
Test equality.
scalar weight() const
Return the weight.
bool valid(TrackingData &td) const
Check whether the meshPhiPreCorrectInfo has been changed at all.
meshPhiPreCorrectInfo()
Construct null.
label layer() const
Return the layer index.
bool updateFace(const fvMesh &mesh, const labelPair &thisPatchAndFacei, const label neighbourCelli, const meshPhiPreCorrectInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
bool sameGeometry(const fvMesh &mesh, const meshPhiPreCorrectInfo &, const scalar, TrackingData &td) const
Check for identical geometrical data. Used for checking.
void transform(const fvPatch &patch, const label patchFacei, const transformer &transform, TrackingData &td)
Transform across an interface.
bool valid(const PtrList< ModelType > &l)
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< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
Istream & operator>>(Istream &, pistonPointEdgeData &)
dimensionSet transform(const dimensionSet &)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)
static const label labelMax