37 Type t = this->psi_[cpw.
cell()]*weights[0];
38 t += this->psip_[faceVertices[0]]*weights[1];
39 t += this->psip_[faceVertices[1]]*weights[2];
40 t += this->psip_[faceVertices[2]]*weights[3];
77 if (faceI != tetIs.
face())
82 "Foam::interpolationCellPointWallModifie<Type>::interpolate" 84 "const vector& position, " 85 "const tetIndices& tetIs, " 89 <<
"specified face " << faceI <<
" inconsistent with the face " 90 <<
"stored by tetIndices: " << tetIs.
face()
99 if (isA<wallPolyPatch>(bm[patchI]))
101 Type t = this->psi_[tetIs.
cell()];
label cell() const
Return the cell.
Type interpolate(const cellPointWeightWallModified &cpw) const
Interpolate field for the given cellPointWeight.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Foam::cellPointWeightWallModified.
errorManipArg< error, int > exit(error &err, const int errNo=1)
tmp< surfaceScalarField > interpolate(const RhoType &rho)
const List< scalar > & weights() const
Interpolation weights.
label cell() const
Cell index.
label whichPatch(const label faceIndex) const
Return patch index for a given face label.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
const List< label > & faceVertices() const
Interpolation addressing for points on face.
Storage and named access for the indices of a tet which is part of the decomposition of a cell...
label face() const
Return the face.