From a29ff3f6f29bfaf64ad8edfc55f028f3044da439 Mon Sep 17 00:00:00 2001 From: Andrew Heather Date: Tue, 9 Aug 2016 15:33:46 +0100 Subject: [PATCH] ENH: boundedConvection scheme - added access function to the underlying scheme --- .../boundedConvectionScheme/boundedConvectionScheme.C | 7 +++++++ .../boundedConvectionScheme/boundedConvectionScheme.H | 2 ++ 2 files changed, 9 insertions(+) diff --git a/src/finiteVolume/finiteVolume/convectionSchemes/boundedConvectionScheme/boundedConvectionScheme.C b/src/finiteVolume/finiteVolume/convectionSchemes/boundedConvectionScheme/boundedConvectionScheme.C index 5da9b1486c..904d317eda 100644 --- a/src/finiteVolume/finiteVolume/convectionSchemes/boundedConvectionScheme/boundedConvectionScheme.C +++ b/src/finiteVolume/finiteVolume/convectionSchemes/boundedConvectionScheme/boundedConvectionScheme.C @@ -40,6 +40,13 @@ namespace fv // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +template +const convectionScheme& boundedConvectionScheme::scheme() const +{ + return scheme_(); +} + + template tmp> boundedConvectionScheme::interpolate diff --git a/src/finiteVolume/finiteVolume/convectionSchemes/boundedConvectionScheme/boundedConvectionScheme.H b/src/finiteVolume/finiteVolume/convectionSchemes/boundedConvectionScheme/boundedConvectionScheme.H index 630e17090a..0573ef4fc2 100644 --- a/src/finiteVolume/finiteVolume/convectionSchemes/boundedConvectionScheme/boundedConvectionScheme.H +++ b/src/finiteVolume/finiteVolume/convectionSchemes/boundedConvectionScheme/boundedConvectionScheme.H @@ -106,6 +106,8 @@ public: // Member Functions + const convectionScheme& scheme() const; + tmp> interpolate ( const surfaceScalarField&,