58 faceFlux.mesh().schemes().interpolation(name)
88 mesh.schemes().interpolation(name)
97 const GeometricField<Type, fvPatchField, volMesh>& vf,
102 if (surfaceInterpolation::debug)
105 <<
"interpolating GeometricField<Type, fvPatchField, volMesh> " 106 << vf.name() <<
endl;
109 return scheme<Type>(faceFlux, schemeData)().interpolate(vf);
117 const GeometricField<Type, fvPatchField, volMesh>& vf,
122 if (surfaceInterpolation::debug)
125 <<
"interpolating GeometricField<Type, fvPatchField, volMesh> " 126 << vf.name() <<
" using " << name <<
endl;
129 return scheme<Type>(faceFlux,
name)().interpolate(vf);
136 const tmp<GeometricField<Type, fvPatchField, volMesh>>& tvf,
141 tmp<GeometricField<Type, fvsPatchField, surfaceMesh>> tsf =
153 const GeometricField<Type, fvPatchField, volMesh>& vf,
154 const tmp<surfaceScalarField>& tFaceFlux,
158 tmp<GeometricField<Type, fvsPatchField, surfaceMesh>> tsf =
170 const tmp<GeometricField<Type, fvPatchField, volMesh>>& tvf,
171 const tmp<surfaceScalarField>& tFaceFlux,
175 tmp<GeometricField<Type, fvsPatchField, surfaceMesh>> tsf =
189 const GeometricField<Type, fvPatchField, volMesh>& vf,
193 if (surfaceInterpolation::debug)
196 <<
"interpolating GeometricField<Type, fvPatchField, volMesh> " 197 << vf.name() <<
endl;
200 return scheme<Type>(vf.mesh(), schemeData)().interpolate(vf);
207 const GeometricField<Type, fvPatchField, volMesh>& vf,
211 if (surfaceInterpolation::debug)
214 <<
"interpolating GeometricField<Type, fvPatchField, volMesh> " 215 << vf.name() <<
" using " << name
219 return scheme<Type>(vf.mesh(),
name)().interpolate(vf);
226 const tmp<GeometricField<Type, fvPatchField, volMesh>>& tvf,
230 tmp<GeometricField<Type, fvsPatchField, surfaceMesh>> tsf =
243 const GeometricField<Type, fvPatchField, volMesh>& vf
246 if (surfaceInterpolation::debug)
249 <<
"interpolating GeometricField<Type, fvPatchField, volMesh> " 250 << vf.name() <<
" using run-time selected scheme" 254 return interpolate(vf,
"interpolate(" + vf.name() +
')');
262 const tmp<GeometricField<Type, fvPatchField, volMesh>>& tvf
265 tmp<GeometricField<Type, fvsPatchField, surfaceMesh>> tsf =
276 const FieldField<fvPatchField, Type>& fvpff
279 FieldField<fvsPatchField, Type>* fvspffPtr
281 new FieldField<fvsPatchField, Type>(fvpff.size())
289 fvsPatchField<Type>::NewCalculatedType(fvpff[
patchi].patch()).ptr()
294 return tmp<FieldField<fvsPatchField, Type>>(fvspffPtr);
302 const tmp<FieldField<fvPatchField, Type>>& tfvpff
305 tmp<FieldField<fvsPatchField, Type>> tfvspff =
interpolate(tfvpff());
316 typename Foam::innerProduct<Foam::vector, Type>::type,
324 const GeometricField<Type, fvPatchField, volMesh>& vf
327 if (surfaceInterpolation::debug)
330 <<
"interpolating GeometricField<Type, fvPatchField, volMesh> " 331 << vf.name() <<
" using run-time selected scheme" 338 "dotInterpolate(" + Sf.name() +
',' + vf.name() +
')' 339 )().dotInterpolate(Sf, vf);
348 typename Foam::innerProduct<Foam::vector, Type>::type,
356 const tmp<GeometricField<Type, fvPatchField, volMesh>>& tvf
363 typename Foam::innerProduct<Foam::vector, Type>::type,
#define forAll(list, i)
Loop across all elements in list.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
Mesh data needed to do the Finite Volume discretisation.
static tmp< GeometricField< typename innerProduct< vector, Type >::type, fvsPatchField, surfaceMesh > > dotInterpolate(const surfaceVectorField &Sf, const GeometricField< Type, fvPatchField, volMesh > &tvf)
Interpolate field onto faces.
GeometricField< vector, fvsPatchField, surfaceMesh > surfaceVectorField
static tmp< surfaceInterpolationScheme< Type > > scheme(const surfaceScalarField &faceFlux, Istream &schemeData)
Return weighting factors for scheme given from Istream.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Generic GeometricField class.
word name(const complex &)
Return a string representation of a complex.
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
#define InfoInFunction
Report an information message using Foam::Info.