From 9ef43017cfcf9c5545d1775d2c04f4d98b230359 Mon Sep 17 00:00:00 2001 From: Timo Koch <timo.koch@iws.uni-stuttgart.de> Date: Thu, 28 Jun 2018 16:13:23 +0200 Subject: [PATCH] [common] Remove property GridCreator --- dumux/common/properties.hh | 1 - dumux/common/properties/grid.hh | 11 +++-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/dumux/common/properties.hh b/dumux/common/properties.hh index f97c06fd0d..1ccc0c730d 100644 --- a/dumux/common/properties.hh +++ b/dumux/common/properties.hh @@ -39,7 +39,6 @@ namespace Properties { /////////////////////////////////////// NEW_PROP_TAG(Scalar); //!< Property to specify the type of scalar values. NEW_PROP_TAG(ModelDefaultParameters); //!< Property which defines the group that is queried for parameters by default -NEW_PROP_TAG(GridCreator); //!< Property which provides a GridCreator (manages grids) NEW_PROP_TAG(Grid); //!< The DUNE grid type NEW_PROP_TAG(PrimaryVariables); //!< A vector of primary variables NEW_PROP_TAG(NumEqVector); //!< A vector of size number equations that can be used for Neumann fluxes, sources, residuals, ... diff --git a/dumux/common/properties/grid.hh b/dumux/common/properties/grid.hh index 2f4803a0b5..2ab818bf02 100644 --- a/dumux/common/properties/grid.hh +++ b/dumux/common/properties/grid.hh @@ -28,21 +28,16 @@ #include <dumux/common/properties.hh> #include <dumux/common/pointsource.hh> -#include <dumux/io/gridcreator.hh> -namespace Dumux -{ -namespace Properties -{ +namespace Dumux { +namespace Properties { + //! Type tag for numeric models. NEW_TYPE_TAG(GridProperties); //! Use the leaf grid view if not defined otherwise SET_TYPE_PROP(GridProperties, GridView, typename GET_PROP_TYPE(TypeTag, Grid)::LeafGridView); -//! Use the DgfGridCreator by default -SET_TYPE_PROP(GridProperties, GridCreator, GridCreator<TypeTag>); - //! Use the minimal point source implementation as default SET_PROP(GridProperties, PointSource) { -- GitLab