From ee1f299b1d5bf09e096d5eaabcb2cfc37541a671 Mon Sep 17 00:00:00 2001
From: Timo Koch <timo.koch@iws.uni-stuttgart.de>
Date: Thu, 14 Jan 2016 09:42:56 +0100
Subject: [PATCH] [gridcreator] Deprecate simplex, cube, dgf grid creator

Structured grids can be defined (since dumux 2.8 / dune 2.4)
via the input file like follows:

[Grid]
LowerLeft = 0 0 0
UpperRight = 4 5 6
Cells = 2 2 6
CellType = Simplex
Refinement = 1         # optional

Note that Simplex is only available for grids supporting simplices.
For multidomain applications the property GridParameterGroup can be
set in each sub problem if you need to define different grids for
the subdomains in the same input file.

DGF
The new default gridcreator (since dumux 2.8) has the
identical functionality with identical interface. Just specify

[Grid]
File = bla.dgf
---
 dumux/io/cubegridcreator.hh    | 2 ++
 dumux/io/dgfgridcreator.hh     | 2 ++
 dumux/io/simplexgridcreator.hh | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/dumux/io/cubegridcreator.hh b/dumux/io/cubegridcreator.hh
index 97d547c95d..adfaba3471 100644
--- a/dumux/io/cubegridcreator.hh
+++ b/dumux/io/cubegridcreator.hh
@@ -25,6 +25,8 @@
 #ifndef DUMUX_CUBE_GRID_CREATOR_HH
 #define DUMUX_CUBE_GRID_CREATOR_HH
 
+#warning This file is deprecated and will be removed after Dumux 2.9. Use the default (Dumux::GridCreator). Structured grids can be defined via the input file now (see handbook). Set CellType = Cube for cube grid.
+
 #include <dune/grid/utility/structuredgridfactory.hh>
 
 #include <dumux/common/basicproperties.hh>
diff --git a/dumux/io/dgfgridcreator.hh b/dumux/io/dgfgridcreator.hh
index ff501a351c..f558745778 100644
--- a/dumux/io/dgfgridcreator.hh
+++ b/dumux/io/dgfgridcreator.hh
@@ -23,6 +23,8 @@
 #ifndef DUMUX_DGF_GRID_CREATOR_HH
 #define DUMUX_DGF_GRID_CREATOR_HH
 
+#warning This file is deprecated and will be removed after Dumux 2.9. Use the default grid creator (Dumux::GridCreator).
+
 #include <dune/common/parallel/mpihelper.hh>
 #include <dune/grid/io/file/dgfparser.hh>
 
diff --git a/dumux/io/simplexgridcreator.hh b/dumux/io/simplexgridcreator.hh
index 092cfc6f91..1bf469197b 100644
--- a/dumux/io/simplexgridcreator.hh
+++ b/dumux/io/simplexgridcreator.hh
@@ -25,6 +25,8 @@
 #ifndef DUMUX_SIMPLEX_GRID_CREATOR_HH
 #define DUMUX_SIMPLEX_GRID_CREATOR_HH
 
+#warning This file is deprecated and will be removed after Dumux 2.9. Use the default (Dumux::GridCreator). Structured grids can be defined via the input file now (see handbook). Set CellType = Simplex for simplex grid.
+
 #include <dumux/common/propertysystem.hh>
 #include <dumux/common/parameters.hh>
 
-- 
GitLab