ENH: volPointInterpolation: have cached version

This commit is contained in:
mattijs
2013-10-03 10:50:53 +01:00
parent 029f881827
commit df246e54cc
2 changed files with 109 additions and 22 deletions

View File

@ -218,6 +218,16 @@ public:
const wordList& patchFieldTypes
) const;
//- Interpolate volField using inverse distance weighting
// returning pointField with name. Optionally caches
template<class Type>
tmp<GeometricField<Type, pointPatchField, pointMesh> > interpolate
(
const GeometricField<Type, fvPatchField, volMesh>&,
const word& name,
const bool cache
) const;
//- Interpolate volField using inverse distance weighting
// returning pointField
template<class Type>
@ -233,6 +243,7 @@ public:
(
const tmp<GeometricField<Type, fvPatchField, volMesh> >&
) const;
};