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];
Graphite solid properties.
Generic templated field type.
Generic GeometricField class.
A face is a list of labels corresponding to mesh vertices.
Mesh data needed to do the Finite Volume discretisation.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual label start() const
Return start label of this patch in the polyMesh face list.
virtual const labelUList & faceCells() const
Return faceCells.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
virtual bool coupled() const
Return true if this patch field is coupled.
Face-point interpolation scheme class derived from linear and returns linear weighting factors but al...
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the explicit correction to the face-interpolate.
A class for managing temporary objects.
A triangle primitive used to calculate face normals and swept volumes.
scalar mag() const
Return scalar magnitude.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > linearInterpolate(const GeometricField< Type, fvPatchField, volMesh > &vf)
#define forAll(list, i)
Loop across all elements in list.
#define makeSurfaceInterpolationScheme(SS)