From 4275c4dfacc3181a3a99b297795fc76bc9cadfb3 Mon Sep 17 00:00:00 2001
From: Martin Bauer <martin.bauer@fau.de>
Date: Tue, 28 May 2019 10:04:20 +0200
Subject: [PATCH] Added stencil as typedef to communication schemes

---
 src/blockforest/communication/UniformBufferedScheme.h | 4 ++--
 src/blockforest/communication/UniformDirectScheme.h   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/blockforest/communication/UniformBufferedScheme.h b/src/blockforest/communication/UniformBufferedScheme.h
index 93216ef8c..b9c07bbec 100644
--- a/src/blockforest/communication/UniformBufferedScheme.h
+++ b/src/blockforest/communication/UniformBufferedScheme.h
@@ -77,11 +77,11 @@ namespace communication {
 * for the schemes: the tag can be passed in the constructor.
 */
 //*******************************************************************************************************************
-template< typename Stencil >
+template< typename Stencil_T >
 class UniformBufferedScheme
 {
 public:
-
+   typedef Stencil_T Stencil;
    typedef mpi::SendBuffer SendBuffer;
    typedef mpi::RecvBuffer RecvBuffer;
 
diff --git a/src/blockforest/communication/UniformDirectScheme.h b/src/blockforest/communication/UniformDirectScheme.h
index 863930893..bf3a73344 100644
--- a/src/blockforest/communication/UniformDirectScheme.h
+++ b/src/blockforest/communication/UniformDirectScheme.h
@@ -45,11 +45,11 @@ namespace communication {
 *
 */
 //*******************************************************************************************************************
-template< typename Stencil >
+template< typename Stencil_T >
 class UniformDirectScheme
 {
 public:
-
+   typedef Stencil_T Stencil;
    typedef walberla::communication::UniformMPIDatatypeInfo UniformMPIDatatypeInfo;
    typedef walberla::communication::UniformMPIDatatypeInfo CommunicationItemInfo;
 
-- 
GitLab