Skip to content
Snippets Groups Projects
Commit 9ef43017 authored by Timo Koch's avatar Timo Koch
Browse files

[common] Remove property GridCreator

parent 5a326c86
No related branches found
No related tags found
1 merge request!1037Feature/remove grid singleton
...@@ -39,7 +39,6 @@ namespace Properties { ...@@ -39,7 +39,6 @@ namespace Properties {
/////////////////////////////////////// ///////////////////////////////////////
NEW_PROP_TAG(Scalar); //!< Property to specify the type of scalar values. 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(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(Grid); //!< The DUNE grid type
NEW_PROP_TAG(PrimaryVariables); //!< A vector of primary variables 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, ... NEW_PROP_TAG(NumEqVector); //!< A vector of size number equations that can be used for Neumann fluxes, sources, residuals, ...
......
...@@ -28,21 +28,16 @@ ...@@ -28,21 +28,16 @@
#include <dumux/common/properties.hh> #include <dumux/common/properties.hh>
#include <dumux/common/pointsource.hh> #include <dumux/common/pointsource.hh>
#include <dumux/io/gridcreator.hh>
namespace Dumux namespace Dumux {
{ namespace Properties {
namespace Properties
{
//! Type tag for numeric models. //! Type tag for numeric models.
NEW_TYPE_TAG(GridProperties); NEW_TYPE_TAG(GridProperties);
//! Use the leaf grid view if not defined otherwise //! Use the leaf grid view if not defined otherwise
SET_TYPE_PROP(GridProperties, GridView, typename GET_PROP_TYPE(TypeTag, Grid)::LeafGridView); 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 //! Use the minimal point source implementation as default
SET_PROP(GridProperties, PointSource) SET_PROP(GridProperties, PointSource)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment