Skip to content
Snippets Groups Projects
Commit b3a5ee74 authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[porousmediumflow] Fix TypeTag inheritance in most models

* The phyiscal model now only inherits from the PorousMediumFlow type tag
* fix includes
parent c0c8fecd
No related branches found
No related tags found
2 merge requests!630Improve properties,!617[WIP] Next
...@@ -27,8 +27,7 @@ ...@@ -27,8 +27,7 @@
#ifndef DUMUX_1P_PROPERTIES_HH #ifndef DUMUX_1P_PROPERTIES_HH
#define DUMUX_1P_PROPERTIES_HH #define DUMUX_1P_PROPERTIES_HH
#include <dumux/common/basicproperties.hh> #include <dumux/common/properties.hh>
#include <dumux/linear/linearsolverproperties.hh>
#include <dumux/material/components/nullcomponent.hh> #include <dumux/material/components/nullcomponent.hh>
#include <dumux/material/fluidmatrixinteractions/1p/thermalconductivityaverage.hh> #include <dumux/material/fluidmatrixinteractions/1p/thermalconductivityaverage.hh>
...@@ -48,7 +47,7 @@ namespace Dumux ...@@ -48,7 +47,7 @@ namespace Dumux
{ {
namespace Properties { namespace Properties {
//! The type tags for the isothermal & non-isothermal single phase model //! The type tags for the isothermal & non-isothermal single phase model
NEW_TYPE_TAG(OneP, INHERITS_FROM(PorousMediumFlow, NumericModel, LinearSolverTypeTag)); NEW_TYPE_TAG(OneP, INHERITS_FROM(PorousMediumFlow));
NEW_TYPE_TAG(OnePNI, INHERITS_FROM(OneP, NonIsothermal)); NEW_TYPE_TAG(OnePNI, INHERITS_FROM(OneP, NonIsothermal));
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
......
...@@ -29,8 +29,7 @@ ...@@ -29,8 +29,7 @@
#ifndef DUMUX_1PNC_PROPERTIES_HH #ifndef DUMUX_1PNC_PROPERTIES_HH
#define DUMUX_1PNC_PROPERTIES_HH #define DUMUX_1PNC_PROPERTIES_HH
#include <dumux/common/basicproperties.hh> #include <dumux/common/properties.hh>
#include <dumux/linear/linearsolverproperties.hh>
#include <dumux/material/components/nullcomponent.hh> #include <dumux/material/components/nullcomponent.hh>
#include <dumux/material/fluidmatrixinteractions/1p/thermalconductivityaverage.hh> #include <dumux/material/fluidmatrixinteractions/1p/thermalconductivityaverage.hh>
...@@ -57,7 +56,7 @@ namespace Properties ...@@ -57,7 +56,7 @@ namespace Properties
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
//! The type tag for the implicit the isothermal & non-isothermal one phase n component problems //! The type tag for the implicit the isothermal & non-isothermal one phase n component problems
NEW_TYPE_TAG(OnePNC, INHERITS_FROM(PorousMediumFlow, NumericModel, LinearSolverTypeTag)); NEW_TYPE_TAG(OnePNC, INHERITS_FROM(PorousMediumFlow));
NEW_TYPE_TAG(OnePNCNI, INHERITS_FROM(OnePNC, NonIsothermal)); NEW_TYPE_TAG(OnePNCNI, INHERITS_FROM(OnePNC, NonIsothermal));
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
......
...@@ -30,8 +30,7 @@ ...@@ -30,8 +30,7 @@
#ifndef DUMUX_2P_PROPERTIES_HH #ifndef DUMUX_2P_PROPERTIES_HH
#define DUMUX_2P_PROPERTIES_HH #define DUMUX_2P_PROPERTIES_HH
#include <dumux/common/basicproperties.hh> #include <dumux/common/properties.hh>
#include <dumux/linear/linearsolverproperties.hh>
#include <dumux/material/components/nullcomponent.hh> #include <dumux/material/components/nullcomponent.hh>
#include <dumux/material/fluidmatrixinteractions/2p/thermalconductivitysomerton.hh> #include <dumux/material/fluidmatrixinteractions/2p/thermalconductivitysomerton.hh>
...@@ -62,7 +61,7 @@ namespace Properties ...@@ -62,7 +61,7 @@ namespace Properties
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
//! The type tags for the isothermal & non-isothermal two-phase model //! The type tags for the isothermal & non-isothermal two-phase model
NEW_TYPE_TAG(TwoP, INHERITS_FROM(PorousMediumFlow, NumericModel, LinearSolverTypeTag)); NEW_TYPE_TAG(TwoP, INHERITS_FROM(PorousMediumFlow));
NEW_TYPE_TAG(TwoPNI, INHERITS_FROM(TwoP, NonIsothermal)); NEW_TYPE_TAG(TwoPNI, INHERITS_FROM(TwoP, NonIsothermal));
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
......
...@@ -29,8 +29,7 @@ ...@@ -29,8 +29,7 @@
#ifndef DUMUX_2PNC_PROPERTIES_HH #ifndef DUMUX_2PNC_PROPERTIES_HH
#define DUMUX_2PNC_PROPERTIES_HH #define DUMUX_2PNC_PROPERTIES_HH
#include <dumux/common/basicproperties.hh> #include <dumux/common/properties.hh>
#include <dumux/linear/linearsolverproperties.hh>
#include <dumux/material/spatialparams/implicit.hh> #include <dumux/material/spatialparams/implicit.hh>
#include <dumux/material/fluidmatrixinteractions/diffusivitymillingtonquirk.hh> #include <dumux/material/fluidmatrixinteractions/diffusivitymillingtonquirk.hh>
...@@ -54,7 +53,7 @@ namespace Properties ...@@ -54,7 +53,7 @@ namespace Properties
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
// Type tags // Type tags
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
NEW_TYPE_TAG(TwoPNC, INHERITS_FROM(PorousMediumFlow, NumericModel, LinearSolverTypeTag)); NEW_TYPE_TAG(TwoPNC, INHERITS_FROM(PorousMediumFlow));
NEW_TYPE_TAG(TwoPNCNI, INHERITS_FROM(TwoPNC, NonIsothermal)); NEW_TYPE_TAG(TwoPNCNI, INHERITS_FROM(TwoPNC, NonIsothermal));
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
......
...@@ -27,8 +27,7 @@ ...@@ -27,8 +27,7 @@
#ifndef DUMUX_3P_PROPERTIES_HH #ifndef DUMUX_3P_PROPERTIES_HH
#define DUMUX_3P_PROPERTIES_HH #define DUMUX_3P_PROPERTIES_HH
#include <dumux/common/basicproperties.hh> #include <dumux/common/properties.hh>
#include <dumux/linear/linearsolverproperties.hh>
#include <dumux/material/spatialparams/implicit.hh> #include <dumux/material/spatialparams/implicit.hh>
#include <dumux/material/fluidstates/immiscible.hh> #include <dumux/material/fluidstates/immiscible.hh>
...@@ -51,7 +50,7 @@ namespace Properties ...@@ -51,7 +50,7 @@ namespace Properties
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
// Type tags // Type tags
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
NEW_TYPE_TAG(ThreeP, INHERITS_FROM(PorousMediumFlow, NumericModel, LinearSolverTypeTag)); NEW_TYPE_TAG(ThreeP, INHERITS_FROM(PorousMediumFlow));
NEW_TYPE_TAG(ThreePNI, INHERITS_FROM(ThreeP, NonIsothermal)); NEW_TYPE_TAG(ThreePNI, INHERITS_FROM(ThreeP, NonIsothermal));
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
......
...@@ -30,8 +30,7 @@ ...@@ -30,8 +30,7 @@
#ifndef DUMUX_3P3C_PROPERTIES_HH #ifndef DUMUX_3P3C_PROPERTIES_HH
#define DUMUX_3P3C_PROPERTIES_HH #define DUMUX_3P3C_PROPERTIES_HH
#include <dumux/common/basicproperties.hh> #include <dumux/common/properties.hh>
#include <dumux/linear/linearsolverproperties.hh>
#include <dumux/porousmediumflow/properties.hh> #include <dumux/porousmediumflow/properties.hh>
#include <dumux/porousmediumflow/nonisothermal/implicit/properties.hh> #include <dumux/porousmediumflow/nonisothermal/implicit/properties.hh>
...@@ -41,7 +40,7 @@ namespace Dumux ...@@ -41,7 +40,7 @@ namespace Dumux
namespace Properties namespace Properties
{ {
//! The type tags for the implicit three-phase three-component problems //! The type tags for the implicit three-phase three-component problems
NEW_TYPE_TAG(ThreePThreeC, INHERITS_FROM(PorousMediumFlow, NumericModel, LinearSolverTypeTag)); NEW_TYPE_TAG(ThreePThreeC, INHERITS_FROM(PorousMediumFlow));
//! The type tags for the corresponding non-isothermal problems //! The type tags for the corresponding non-isothermal problems
NEW_TYPE_TAG(ThreePThreeCNI, INHERITS_FROM(ThreePThreeC, NonIsothermal)); NEW_TYPE_TAG(ThreePThreeCNI, INHERITS_FROM(ThreePThreeC, NonIsothermal));
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#ifndef DUMUX_POROUSMEDIUM_FLOW_PROPERTIES_HH #ifndef DUMUX_POROUSMEDIUM_FLOW_PROPERTIES_HH
#define DUMUX_POROUSMEDIUM_FLOW_PROPERTIES_HH #define DUMUX_POROUSMEDIUM_FLOW_PROPERTIES_HH
#include <dumux/common/properties.hh>
#include <dumux/common/properties/model.hh> #include <dumux/common/properties/model.hh>
#include <dumux/io/vtkoutputmodule.hh> #include <dumux/io/vtkoutputmodule.hh>
......
...@@ -28,8 +28,7 @@ ...@@ -28,8 +28,7 @@
#ifndef DUMUX_RICHARDS_PROPERTIES_HH #ifndef DUMUX_RICHARDS_PROPERTIES_HH
#define DUMUX_RICHARDS_PROPERTIES_HH #define DUMUX_RICHARDS_PROPERTIES_HH
#include <dumux/common/basicproperties.hh> #include <dumux/common/properties.hh>
#include <dumux/linear/linearsolverproperties.hh>
#include <dumux/porousmediumflow/immiscible/localresidual.hh> #include <dumux/porousmediumflow/immiscible/localresidual.hh>
#include <dumux/porousmediumflow/compositional/switchableprimaryvariables.hh> #include <dumux/porousmediumflow/compositional/switchableprimaryvariables.hh>
...@@ -63,7 +62,7 @@ namespace Properties { ...@@ -63,7 +62,7 @@ namespace Properties {
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
//! The type tags for the implicit isothermal one-phase two-component problems //! The type tags for the implicit isothermal one-phase two-component problems
NEW_TYPE_TAG(Richards, INHERITS_FROM(PorousMediumFlow, NumericModel, LinearSolverTypeTag)); NEW_TYPE_TAG(Richards, INHERITS_FROM(PorousMediumFlow));
NEW_TYPE_TAG(RichardsNI, INHERITS_FROM(Richards, NonIsothermal)); NEW_TYPE_TAG(RichardsNI, INHERITS_FROM(Richards, NonIsothermal));
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
......
...@@ -29,8 +29,7 @@ ...@@ -29,8 +29,7 @@
#ifndef DUMUX_RICHARDSNC_PROPERTIES_HH #ifndef DUMUX_RICHARDSNC_PROPERTIES_HH
#define DUMUX_RICHARDSNC_PROPERTIES_HH #define DUMUX_RICHARDSNC_PROPERTIES_HH
#include <dumux/common/basicproperties.hh> #include <dumux/common/properties.hh>
#include <dumux/linear/linearsolverproperties.hh>
#include <dumux/porousmediumflow/compositional/localresidual.hh> #include <dumux/porousmediumflow/compositional/localresidual.hh>
#include <dumux/porousmediumflow/richards/implicit/newtoncontroller.hh> #include <dumux/porousmediumflow/richards/implicit/newtoncontroller.hh>
...@@ -61,7 +60,7 @@ namespace Properties ...@@ -61,7 +60,7 @@ namespace Properties
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
//! The type tags for the implicit isothermal one-phase two-component problems //! The type tags for the implicit isothermal one-phase two-component problems
NEW_TYPE_TAG(RichardsNC, INHERITS_FROM(PorousMediumFlow, NumericModel, LinearSolverTypeTag)); NEW_TYPE_TAG(RichardsNC, INHERITS_FROM(PorousMediumFlow));
NEW_TYPE_TAG(RichardsNCNI, INHERITS_FROM(Richards, NonIsothermal)); NEW_TYPE_TAG(RichardsNCNI, INHERITS_FROM(Richards, NonIsothermal));
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
// Property tags // Property tags
......
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