63 if (facei >= 0 && facei >= this->psi_.mesh().nInternalFaces())
71 const label patchFacei = pbm[
patchi].whichFace(facei);
73 return this->psi_.boundaryField()[
patchi][patchFacei];
77 return this->psi_[celli];
Generic GeometricField class.
Mesh data needed to do the Finite Volume discretisation.
const polyMesh & poly() const
Return reference to polyMesh.
Basic piecewise-constant interpolation method. Interpolates to a point by using the value in the cell...
cellPatchConstrained(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 polyBoundaryMesh & boundary() const
Return boundary mesh.
label nInternalFaces() const
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
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.