i have two questions about the following code:
211 template<class Type>
212 tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >
213 limitedSurfaceInterpolationScheme<Type>::flux //Return the interpolation
//weighting factors.
214 (
215 const GeometricField<Type, fvPatchField, volMesh>& phi
216 ) const
217 {
218 return faceFlux_*this->interpolate(phi); //const surfaceScalarField&
219 } //faceFlux_
Line 211 - 213: The shown method
flux(...)
should be a method-template where the return-type islimitedSurfaceInterpolationScheme<Type>
. What doestmp<GeometricField<Type, fvsPatchField, surfaceMesh> >
in this connection exactly mean?Line 218: What does
faceFlux_*this
do?faceFlux_
is member-object of class-templatelimitedSurfaceInterpolationScheme<Type>
and*this
is the content of the object methodflux(...)
was called on.
greetings streight