diff --git a/dumux/implicit/adaptive/adaptationhelper.hh b/dumux/implicit/adaptive/adaptationhelper.hh index 1a1d7539aa2f11daebe0249d69f66e9d1fa16b1a..ae29217d7d5e51f80a809a13662e52eaef439ced 100644 --- a/dumux/implicit/adaptive/adaptationhelper.hh +++ b/dumux/implicit/adaptive/adaptationhelper.hh @@ -19,9 +19,12 @@ #ifndef DUMUX_ADAPTATIONHELPER_HH #define DUMUX_ADAPTATIONHELPER_HH +#include <dune/common/version.hh> +#include <dune/grid/common/gridenums.hh> #include <dune/grid/utility/persistentcontainer.hh> #include <dune/localfunctions/lagrange/pqkfactory.hh> -//#include <dumux/linear/vectorexchange.hh> + +#include <dumux/common/propertysystem.hh> /** * @file @@ -31,6 +34,15 @@ namespace Dumux { +namespace Properties +{ +NEW_PROP_TAG(GridView); +NEW_PROP_TAG(ImplicitIsBox); +NEW_PROP_TAG(PrimaryVariables); +NEW_PROP_TAG(Problem); +NEW_PROP_TAG(Scalar); +} + template<class TypeTag> class AdaptationHelper { diff --git a/dumux/implicit/adaptive/gridadapt.hh b/dumux/implicit/adaptive/gridadapt.hh index ef78695a8323987054c28bef86190a471d33e0c4..806bcb96746283a932a090ea471a0b7a1237eb3b 100644 --- a/dumux/implicit/adaptive/gridadapt.hh +++ b/dumux/implicit/adaptive/gridadapt.hh @@ -29,9 +29,16 @@ #include <dune/common/exceptions.hh> +#include <dumux/common/propertysystem.hh> + namespace Dumux { +namespace Properties +{ +NEW_PROP_TAG(SolutionVector); +} + /*!\ingroup ImplicitGridAdapt * @brief Standard Module for h-adaptive simulations * diff --git a/dumux/implicit/adaptive/gridadaptindicatordefault.hh b/dumux/implicit/adaptive/gridadaptindicatordefault.hh index 331892e18f58d13ce108a6271ac33060aa11defb..318fc7609fd9ff5c470033fae75af965846777c1 100644 --- a/dumux/implicit/adaptive/gridadaptindicatordefault.hh +++ b/dumux/implicit/adaptive/gridadaptindicatordefault.hh @@ -19,12 +19,21 @@ #ifndef DUMUX_IMPLICIT_GRIDADAPTINDICATORDEFAULT_HH #define DUMUX_IMPLICIT_GRIDADAPTINDICATORDEFAULT_HH +#include <dumux/common/propertysystem.hh> + /** * @file * @brief Class defining a default indicator for grid adaptation */ namespace Dumux { + +namespace Properties +{ +NEW_PROP_TAG(GridView); +NEW_PROP_TAG(Problem); +} + /*!\ingroup ImplicitGridAdaptIndicator * @brief Class defining a default indicator for grid adaptation * diff --git a/dumux/implicit/adaptive/gridadaptinitializationindicator.hh b/dumux/implicit/adaptive/gridadaptinitializationindicator.hh index 07641de042d9ede939112c73444c357174ed9f51..66c4f7c1118e1a810c6a2df112a94803085bd6f3 100644 --- a/dumux/implicit/adaptive/gridadaptinitializationindicator.hh +++ b/dumux/implicit/adaptive/gridadaptinitializationindicator.hh @@ -29,6 +29,14 @@ */ namespace Dumux { + +namespace Properties +{ +NEW_PROP_TAG(BoundaryTypes); +NEW_PROP_TAG(PrimaryVariables); +NEW_PROP_TAG(NumEq); +} + /*!\ingroup ImplicitGridAdaptInitializationIndicator * @brief Class defining an initialization indicator for grid adaptation * diff --git a/test/decoupled/2p/test_3d2pproblem.hh b/test/decoupled/2p/test_3d2pproblem.hh index c4ba18fad9cdc3678d9c3557f9d0877d6aa5387a..4f4e784d9bc792fa1caa1a5366741d9d07c0749b 100644 --- a/test/decoupled/2p/test_3d2pproblem.hh +++ b/test/decoupled/2p/test_3d2pproblem.hh @@ -64,7 +64,9 @@ namespace Properties NEW_TYPE_TAG(ThreeDTwoPTestProblem, INHERITS_FROM(Test3d2pSpatialParams)); // Set the grid type +#if HAVE_ALUGRID || HAVE_DUNE_ALUGRID SET_TYPE_PROP(ThreeDTwoPTestProblem, Grid, Dune::ALUGrid<3, 3, Dune::cube, Dune::nonconforming>); +#endif // Set the problem property SET_TYPE_PROP(ThreeDTwoPTestProblem, Problem, Dumux::Test3D2PProblem<TypeTag>); diff --git a/test/decoupled/2p/test_impesadaptiveproblem.hh b/test/decoupled/2p/test_impesadaptiveproblem.hh index 9f6e9956433d22e94a2897425e2c9cd0dfe93c49..804a983a428826d18c53eecd6420cd37587de41e 100644 --- a/test/decoupled/2p/test_impesadaptiveproblem.hh +++ b/test/decoupled/2p/test_impesadaptiveproblem.hh @@ -58,7 +58,9 @@ namespace Properties NEW_TYPE_TAG(TestIMPESAdaptiveProblem, INHERITS_FROM(FVPressureTwoPAdaptive, FVTransportTwoP, IMPESTwoPAdaptive, TestIMPESAdaptiveSpatialParams)); // Set the grid type +#if HAVE_ALUGRID || HAVE_DUNE_ALUGRID SET_TYPE_PROP(TestIMPESAdaptiveProblem, Grid, Dune::ALUGrid<2, 2, Dune::cube, Dune::nonconforming>); +#endif // set the GridCreator property SET_TYPE_PROP(TestIMPESAdaptiveProblem, GridCreator, CubeGridCreator<TypeTag>); diff --git a/test/decoupled/2p/test_mpfa2pproblem.hh b/test/decoupled/2p/test_mpfa2pproblem.hh index 8d7b1fa58f3429a8f8a3fd01d436c9300d41bd11..7f36bbc5ad5c9ac67216b5e366b823c3b24c159e 100644 --- a/test/decoupled/2p/test_mpfa2pproblem.hh +++ b/test/decoupled/2p/test_mpfa2pproblem.hh @@ -67,7 +67,9 @@ namespace Properties NEW_TYPE_TAG(MPFATwoPTestProblem, INHERITS_FROM(Test2PSpatialParams)); // Set the grid type +#if HAVE_ALUGRID || HAVE_DUNE_ALUGRID SET_TYPE_PROP(MPFATwoPTestProblem, Grid, Dune::ALUGrid<2, 2, Dune::cube, Dune::nonconforming>); +#endif #if PROBLEM == 2 //set the GridCreator property diff --git a/test/implicit/mpnc/combustionspatialparams.hh b/test/implicit/mpnc/combustionspatialparams.hh index dcb7aae02bf9e27ff02f6e88d59a67056387a7c8..e37c81ac97308a35a5c786edb7bbde73c2036002 100644 --- a/test/implicit/mpnc/combustionspatialparams.hh +++ b/test/implicit/mpnc/combustionspatialparams.hh @@ -24,15 +24,13 @@ #ifndef DUMUX_COMBUSTION_SPATIALPARAMS_HH #define DUMUX_COMBUSTION_SPATIALPARAMS_HH -#include <dumux/material/spatialparams/implicitspatialparams.hh> +#include <dune/common/parametertreeparser.hh> #include <dumux/material/fluidmatrixinteractions/2p/efftoabslaw.hh> - -#include <dumux/material/fluidmatrixinteractions/mp/2padapter.hh> -#include <dumux/material/fluidmatrixinteractions/2p/linearmaterial.hh> - -#include <dune/common/parametertreeparser.hh> #include <dumux/material/fluidmatrixinteractions/2p/heatpipelaw.hh> +#include <dumux/material/fluidmatrixinteractions/2p/linearmaterial.hh> +#include <dumux/material/fluidmatrixinteractions/mp/2padapter.hh> +#include <dumux/material/spatialparams/implicitspatialparams.hh> namespace Dumux { @@ -43,6 +41,13 @@ class CombustionSpatialParams; namespace Properties { +// Some forward declarations +NEW_PROP_TAG(EnableEnergy); +NEW_PROP_TAG(FluidState); +NEW_PROP_TAG(FluidSystem); +NEW_PROP_TAG(NumEnergyEquations); +NEW_PROP_TAG(NumPhases); + // The spatial params TypeTag NEW_TYPE_TAG(CombustionSpatialParams);