Skip to content
Snippets Groups Projects
Commit 7f06c21d authored by Henry's avatar Henry
Browse files

surfaceInterpolate: support fvc::interpolate(one)

parent 1ff8328c
Branches
Tags
No related merge requests found
...@@ -39,6 +39,7 @@ SourceFiles ...@@ -39,6 +39,7 @@ SourceFiles
#include "volFieldsFwd.H" #include "volFieldsFwd.H"
#include "surfaceFieldsFwd.H" #include "surfaceFieldsFwd.H"
#include "surfaceInterpolationScheme.H" #include "surfaceInterpolationScheme.H"
#include "one.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...@@ -183,6 +184,12 @@ namespace fvc ...@@ -183,6 +184,12 @@ namespace fvc
( (
const tmp<FieldField<fvPatchField, Type> >& tfvpff const tmp<FieldField<fvPatchField, Type> >& tfvpff
); );
//- Interpolate 'one' returning 'one'
inline one interpolate(const one&)
{
return one();
}
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment