次のコードについて 2 つの質問があります。
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_
行 211 ~ 213: 表示されるメソッド
flux(...)
は、戻り値の型が であるメソッド テンプレートである必要がありlimitedSurfaceInterpolationScheme<Type>
ます。tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >
これに関連して、正確にはどういう意味ですか?218 行目: 何をし
faceFlux_*this
ますか?faceFlux_
class-template の member-object でありlimitedSurfaceInterpolationScheme<Type>
、呼び出され*this
たオブジェクト メソッドのコンテンツです。flux(...)
あいさつ