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];
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 + this->psip_[triIs[0]]*coordinates[1]
87 + this->psip_[triIs[1]]*coordinates[2]
88 + this->psip_[triIs[2]]*coordinates[3];
const triFace & faceVertices() const
Interpolation addressing for points on face.
label cell() const
Cell index.
const barycentric & weights() const
Interpolation weights.
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.
label cell() const
Return the cell.
triFace faceTriIs(const polyMesh &mesh) const
Return the indices corresponding to the tri on the face for.
A triangular face using a FixedList of labels corresponding to mesh vertices.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static tmp< SurfaceField< Type > > interpolate(const VolField< Type > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.