6 tmp<GeometricField<Type, fvsPatchField, surfaceMesh>>
interpolate
8 const GeometricField<Type, fvPatchField, volMesh>& vf,
9 const surfaceScalarField& dir,
10 const word& reconFieldName = word::null
13 Foam::word schemeName (
"upwind");
14 dictionary fluxScheme;
15 fluxScheme.set<word>(
"interpolate", schemeName);
17 tmp<GeometricField<Type, fvsPatchField, surfaceMesh>> tsf
23 fluxScheme.lookup(
"interpolate")
30 GeometricField<Type, fvsPatchField, surfaceMesh>& sf = tsf.ref();
32 sf.rename(vf.name() +
'_' + dir.name());
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &vf, const surfaceScalarField &dir, const word &reconFieldName=word::null)
Interpolate field vf according to direction dir.