Go to the documentation of this file.
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];
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
interpolationCellPatchConstrained(const GeometricField< Type, fvPatchField, volMesh > &psi)
Construct from components.
const labelList & patchID() const
Per boundary face label the patch index.
const polyMesh & mesh() const noexcept
Return the mesh reference.
Abstract base class for interpolation.
Type interpolate(const vector &position, const label celli, const label facei=-1) const
Interpolate field to the given point in the given cell.
const volScalarField & psi