37 Type t = this->psi_[cpw.
cell()]*weights[0];
38 t += psip_[faceVertices[0]]*weights[1];
39 t += psip_[faceVertices[1]]*weights[2];
40 t += psip_[faceVertices[2]]*weights[3];
73 if (facei != tetIs.
face())
76 <<
"specified face " << facei <<
" inconsistent with the face " 77 <<
"stored by tetIndices: " << tetIs.
face()
85 this->psi_[tetIs.
cell()]*coordinates[0]
86 + psip_[triIs[0]]*coordinates[1]
87 + psip_[triIs[1]]*coordinates[2]
88 + psip_[triIs[2]]*coordinates[3];
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const triFace & faceVertices() const
Interpolation addressing for points on face.
triFace faceTriIs(const polyMesh &mesh) const
Return the indices corresponding to the tri on the face for.
const barycentric & weights() const
Interpolation weights.
A triangular face using a FixedList of labels corresponding to mesh vertices.
label cell() const
Return the cell.
Type interpolate(const cellPointWeight &cpw) const
Interpolate field for the given cellPointWeight.
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.
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
label cell() const
Cell index.