From a3b93eae9b2043ca323af7030919dd6520cc90f1 Mon Sep 17 00:00:00 2001
From: Timo Koch <timo.koch@iws.uni-stuttgart.de>
Date: Sat, 30 Dec 2017 20:16:04 +0100
Subject: [PATCH] [bugfix][foamgrid][gridcreator] Get correct lower left
 coordinates

---
 dumux/io/gridcreator.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dumux/io/gridcreator.hh b/dumux/io/gridcreator.hh
index 749143002e..72c46f19da 100644
--- a/dumux/io/gridcreator.hh
+++ b/dumux/io/gridcreator.hh
@@ -1209,7 +1209,7 @@ public:
         // The required parameters
         using GlobalPosition = Dune::FieldVector<typename Grid::ctype, dimworld>;
         const auto upperRight = getParamFromGroup<GlobalPosition>(modelParamGroup, "Grid.UpperRight");
-        const auto lowerLeft = getParamFromGroup<GlobalPosition>(modelParamGroup, "Grid.UpperRight", GlobalPosition(0.0));
+        const auto lowerLeft = getParamFromGroup<GlobalPosition>(modelParamGroup, "Grid.LowerLeft", GlobalPosition(0.0));
         using CellArray = std::array<unsigned int, 1>;
         const auto cells = getParamFromGroup<CellArray>(modelParamGroup, "Grid.Cells", std::array<unsigned int, 1>{{1}});
 
-- 
GitLab