61 if (facei >= 0 && facei >= this->psi_.mesh().nInternalFaces())
68 return this->psi_.boundaryField()[
patchi][patchFacei];
72 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 & patchID() const
Per boundary face label the patch index.
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.