From 403e25c47d19637198cd430eec744533f46c8e6b Mon Sep 17 00:00:00 2001
From: rinkk <karsten.rink@ufz.de>
Date: Fri, 13 Sep 2019 12:02:38 +0200
Subject: [PATCH] fixing numbering of intermediate rasters to range from top to
 bottom

---
 Applications/Utils/MeshGeoTools/createIntermediateRasters.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Applications/Utils/MeshGeoTools/createIntermediateRasters.cpp b/Applications/Utils/MeshGeoTools/createIntermediateRasters.cpp
index 7f58c41846e..d7c0367eb6f 100644
--- a/Applications/Utils/MeshGeoTools/createIntermediateRasters.cpp
+++ b/Applications/Utils/MeshGeoTools/createIntermediateRasters.cpp
@@ -126,7 +126,7 @@ int main(int argc, char* argv[])
             double const step = (max - min) / static_cast<double>(n + 1);
             for (std::size_t i = 0; i < n; ++i)
             {
-                raster[i].push_back(min + ((i+1) * step));
+                raster[i].push_back(max - ((i+1) * step));
             }
         }
         it2++;
-- 
GitLab