61 if (facei >= 0 && facei >= this->psi_.mesh().nInternalFaces())
66 pbm.
patchIndices()[facei-this->psi_.mesh().nInternalFaces()];
67 const label patchFacei = pbm[
patchi].whichFace(facei);
69 return this->psi_.boundaryField()[
patchi][patchFacei];
73 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...
interpolationCellPatchConstrained(const VolField< Type > &psi)
Construct from components.
Type interpolate(const vector &position, const label celli, const label facei=-1) const
Interpolate field to the given point in the given cell.
const labelList & patchIndices() const
Boundary face patch indices.
const polyMesh & mesh() const
Return the mesh reference.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
const volScalarField & psi
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.