53 if (facei >= 0 && facei >= this->psi_.mesh().nInternalFaces())
57 label patchi = pbm.
patchID()[facei-this->psi_.mesh().nInternalFaces()];
58 label patchFacei = pbm[patchi].whichFace(facei);
60 return this->psi_.boundaryField()[patchi][patchFacei];
64 return this->psi_[celli];
Generic GeometricField class.
Uses the cell value for any point in the cell apart from a boundary face where it uses the boundary v...
Abstract base class for volume field interpolation.
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
const labelList & patchID() const
Per boundary face label the patch index.
const polyMesh & mesh() const noexcept
Return the mesh reference.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
bool interpolate() const noexcept
Same as isPointData()
const volScalarField & psi