From 2fd19f2b95195fdc27b2e0aae01fbb3e4686ae81 Mon Sep 17 00:00:00 2001
From: Anna Wellmann <a.wellmann@tu-bs.de>
Date: Mon, 6 Dec 2021 13:01:50 +0100
Subject: [PATCH] Fix bug in output of send buffer sizes

(cherry picked from commit 90277277c6badc70263de63623acbe32c2d0ad32)
---
 .../GridReaderGenerator/GridGenerator.cpp                 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/gpu/VirtualFluids_GPU/DataStructureInitializer/GridReaderGenerator/GridGenerator.cpp b/src/gpu/VirtualFluids_GPU/DataStructureInitializer/GridReaderGenerator/GridGenerator.cpp
index 38737234d..5edae460a 100644
--- a/src/gpu/VirtualFluids_GPU/DataStructureInitializer/GridReaderGenerator/GridGenerator.cpp
+++ b/src/gpu/VirtualFluids_GPU/DataStructureInitializer/GridReaderGenerator/GridGenerator.cpp
@@ -365,7 +365,7 @@ void GridGenerator::initalValuesDomainDecompostion()
                     if (tempSend > 0) {
                         ////////////////////////////////////////////////////////////////////////////////////////
                         // send
-                        std::cout << "size of Data for X send buffer, Level " << level << " : " << tempSend
+                        std::cout << "size of Data for Y send buffer, Level " << level << " : " << tempSend
                                   << std::endl;
                         ////////////////////////////////////////////////////////////////////////////////////////
                         para->getParH(level)->sendProcessNeighborY.back().rankNeighbor =
@@ -434,7 +434,7 @@ void GridGenerator::initalValuesDomainDecompostion()
                     if (tempSend > 0) {
                         ////////////////////////////////////////////////////////////////////////////////////////
                         // send
-                        std::cout << "size of Data for X send buffer, Level " << level << " : " << tempSend
+                        std::cout << "size of Data for Z send buffer, Level " << level << " : " << tempSend
                                   << std::endl;
                         ////////////////////////////////////////////////////////////////////////////////////////
                         para->getParH(level)->sendProcessNeighborZ.back().rankNeighbor =
@@ -573,7 +573,7 @@ void GridGenerator::initalValuesDomainDecompostion()
                     if (tempSend > 0) {
                         ////////////////////////////////////////////////////////////////////////////////////////
                         // send
-                        std::cout << "size of Data for X send buffer, Level " << level << " : " << tempSend
+                        std::cout << "size of Data for Y send buffer, Level " << level << " : " << tempSend
                                   << std::endl;
                         ////////////////////////////////////////////////////////////////////////////////////////
                         para->getParH(level)->sendProcessNeighborF3Y.back().rankNeighbor =
@@ -639,7 +639,7 @@ void GridGenerator::initalValuesDomainDecompostion()
                     if (tempSend > 0) {
                         ////////////////////////////////////////////////////////////////////////////////////////
                         // send
-                        std::cout << "size of Data for X send buffer, Level " << level << " : " << tempSend
+                        std::cout << "size of Data for Z send buffer, Level " << level << " : " << tempSend
                                   << std::endl;
                         ////////////////////////////////////////////////////////////////////////////////////////
                         para->getParH(level)->sendProcessNeighborF3Z.back().rankNeighbor =
-- 
GitLab