diff --git a/src/blockforest/communication/UniformBufferedScheme.h b/src/blockforest/communication/UniformBufferedScheme.h index 7bc813cc5067a8d4336bc376dc643314defa1816..1693d0d687e6700c1d6bd0bfcb6dc433be59d192 100644 --- a/src/blockforest/communication/UniformBufferedScheme.h +++ b/src/blockforest/communication/UniformBufferedScheme.h @@ -160,6 +160,7 @@ public: std::function<void()> getStartCommunicateFunctor(); std::function<void()> getWaitFunctor(); + std::function<void()> getCommunicateFunctor(); //@} //******************************************************************************************************************* @@ -545,6 +546,11 @@ std::function<void()> UniformBufferedScheme<Stencil>::getWaitFunctor() return std::bind( &UniformBufferedScheme::wait, this ); } +template< typename Stencil > +std::function<void()> UniformBufferedScheme<Stencil>::getCommunicateFunctor() +{ + return std::bind( &UniformBufferedScheme::communicate, this ); +} } // namespace communication } // namespace blockforest