39 Type t = this->
psi_[cpw.
cell()]*weights[0];
40 t +=
psip_[faceVertices[0]]*weights[1];
41 t +=
psip_[faceVertices[1]]*weights[2];
42 t +=
psip_[faceVertices[2]]*weights[3];
75 if (facei != tetIs.
face())
78 <<
"specified face " << facei <<
" inconsistent with the face "
79 <<
"stored by tetIndices: " << tetIs.
face()
label cell() const noexcept
Cell index.
const barycentric & weights() const noexcept
Interpolation weights.
const triFace & faceVertices() const noexcept
Interpolation addressing for points on face.
Type interpolate(const cellPointWeight &cpw) const
Interpolate field for the given cellPointWeight.
const GeometricField< Type, pointPatchField, pointMesh > psip_
Interpolated volfield.
const GeometricField< Type, fvPatchField, volMesh > & psi_
Storage and named access for the indices of a tet which is part of the decomposition of a cell.
label face() const noexcept
Return the face index.
triFace faceTriIs(const polyMesh &mesh, const bool warn=true) const
The indices corresponding to the tri on the face for this tet. The normal of the tri points out of th...
label cell() const noexcept
Return the cell index.
A triangular face using a FixedList of labels corresponding to mesh vertices.
PtrList< coordinateSystem > coordinates(solidRegions.size())
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
Barycentric< scalar > barycentric
A scalar version of the templated Barycentric.
errorManipArg< error, int > exit(error &err, const int errNo=1)