From 1f5ad2680b15f0d387a9097bfa91dd80e08d30b2 Mon Sep 17 00:00:00 2001
From: Sina Ackermann <sina.ackermann@iws.uni-stuttgart.de>
Date: Fri, 21 Dec 2018 11:22:34 +0100
Subject: [PATCH] [exercise-biomineralization] Use only yaspgrid

---
 exercises/exercise-biomineralization/biominproblem.hh     | 8 --------
 .../solution/exercise-biomineralization/biominproblem.hh  | 8 --------
 2 files changed, 16 deletions(-)

diff --git a/exercises/exercise-biomineralization/biominproblem.hh b/exercises/exercise-biomineralization/biominproblem.hh
index 489d2657..969deed2 100644
--- a/exercises/exercise-biomineralization/biominproblem.hh
+++ b/exercises/exercise-biomineralization/biominproblem.hh
@@ -62,16 +62,8 @@ template<class TypeTag>
 struct Problem<TypeTag, TTag::ExerciseFourBioMin> { using type = ExerciseFourBioMinProblem<TypeTag>; };
 
 //! Set grid and the grid creator to be used
-#if HAVE_DUNE_ALUGRID
-template<class TypeTag>
-struct Grid<TypeTag, TTag::ExerciseFourBioMin> { using type = Dune::ALUGrid</*dim=*/2, 2, Dune::cube, Dune::nonconforming>; };
-#elif HAVE_UG
-template<class TypeTag>
-struct Grid<TypeTag, TTag::ExerciseFourBioMin> { using type = Dune::UGGrid<2>; };
-#else
 template<class TypeTag>
 struct Grid<TypeTag, TTag::ExerciseFourBioMin> { using type = Dune::YaspGrid<2>; };
-#endif // HAVE_DUNE_ALUGRID
 
 //! Set the fluid system type
 template<class TypeTag>
diff --git a/exercises/solution/exercise-biomineralization/biominproblem.hh b/exercises/solution/exercise-biomineralization/biominproblem.hh
index 672b544f..44b05db8 100644
--- a/exercises/solution/exercise-biomineralization/biominproblem.hh
+++ b/exercises/solution/exercise-biomineralization/biominproblem.hh
@@ -63,16 +63,8 @@ template<class TypeTag>
 struct Problem<TypeTag, TTag::ExerciseFourBioMin> { using type = ExerciseFourBioMinProblem<TypeTag>; };
 
 //! Set grid and the grid creator to be used
-#if HAVE_DUNE_ALUGRID
-template<class TypeTag>
-struct Grid<TypeTag, TTag::ExerciseFourBioMin> { using type = Dune::ALUGrid</*dim=*/2, 2, Dune::cube, Dune::nonconforming>; };
-#elif HAVE_UG
-template<class TypeTag>
-struct Grid<TypeTag, TTag::ExerciseFourBioMin> { using type = Dune::UGGrid<2>; };
-#else
 template<class TypeTag>
 struct Grid<TypeTag, TTag::ExerciseFourBioMin> { using type = Dune::YaspGrid<2>; };
-#endif // HAVE_DUNE_ALUGRID
 
 //! Set the fluid system type
 template<class TypeTag>
-- 
GitLab