52 const GeometricField<Type, fvsPatchField, surfaceMesh>& ssf
57 const fvMesh&
mesh = ssf.mesh();
65 tmp<GeometricField<GradType, fvPatchField, volMesh> > treconField
67 new GeometricField<GradType, fvPatchField, volMesh>
71 "reconstruct("+ssf.name()+
')',
82 pTraits<GradType>::zero
84 zeroGradientFvPatchField<GradType>::typeName
88 Field<GradType>& rf = treconField();
92 label own = owner[facei];
93 label nei = neighbour[facei];
95 rf[own] += (Cf[facei] -
C[own])*ssf[facei];
96 rf[nei] -= (Cf[facei] -
C[nei])*ssf[facei];
99 const typename GeometricField<Type, fvsPatchField, surfaceMesh>::
100 GeometricBoundaryField& bsf = ssf.boundaryField();
104 const fvsPatchField<Type>& psf = bsf[
patchi];
111 label own = pOwner[pFacei];
112 rf[own] += (pCf[pFacei] -
C[own])*psf[pFacei];
118 treconField().correctBoundaryConditions();
134 const tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >& tssf
138 tmp<GeometricField<GradType, fvPatchField, volMesh> > tvf