65 w[owner[facei]]*
C[owner[facei]]
66 + (1.0 - w[owner[facei]])*
C[neighbour[facei]];
68 const face&
f = faces[facei];
78 Type sumPsip = at*(1.0/3.0)*
85 for (label pointi=1; pointi<
f.size(); pointi++)
95 sumPsip += at*(1.0/3.0)*
104 sfCorr[facei] = sumPsip/sumAt - sfCorr[facei];
109 Boundary& bSfCorr = tsfCorr.
ref().boundaryFieldRef();
124 label own = pOwner[facei];
128 + (1.0 - pWghts[facei])*pNbrC[facei];
140 Type sumPsip = at*(1.0/3.0)*
147 for (label pointi=1; pointi<
f.size(); pointi++)
157 sumPsip += at*(1.0/3.0)*
166 pSfCorr[facei] = sumPsip/sumAt - pSfCorr[facei];
label start() const noexcept
The patch start within the polyMesh face list.
Graphite solid properties.
A face is a list of labels corresponding to mesh vertices.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > linearInterpolate(const GeometricField< Type, fvPatchField, volMesh > &vf)
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate(const GeometricField< Type, faPatchField, areaMesh > &tvf, const edgeScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
Generic GeometricField class.
#define forAll(list, i)
Loop across all elements in list.
Generic templated field type.
virtual const labelUList & faceCells() const
Return faceCells.
makeSurfaceInterpolationScheme(cellCoBlended)
constexpr scalar pi(M_PI)
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the explicit correction to the face-interpolate.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
virtual bool coupled() const
True if the patch field is coupled.
Mesh data needed to do the Finite Volume discretisation.
triangle< point, const point & > triPointRef
A triangle using referred points.
A class for managing temporary objects.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
Face-point interpolation scheme class derived from linear and returns linear weighting factors but al...
static constexpr const zero Zero
Global zero (0)