diff --git a/flow/flow_gaswater_solvent.cpp b/flow/flow_gaswater_solvent.cpp index 77cf7e7a55..6a59ae3731 100644 --- a/flow/flow_gaswater_solvent.cpp +++ b/flow/flow_gaswater_solvent.cpp @@ -24,6 +24,7 @@ #include #include +#include #include #include diff --git a/flow/flow_solvent.cpp b/flow/flow_solvent.cpp index 8c377e5e67..b44d544730 100644 --- a/flow/flow_solvent.cpp +++ b/flow/flow_solvent.cpp @@ -24,6 +24,7 @@ #include #include +#include #include #include diff --git a/flow/flow_solvent_foam.cpp b/flow/flow_solvent_foam.cpp index c67be5e281..43646165e2 100644 --- a/flow/flow_solvent_foam.cpp +++ b/flow/flow_solvent_foam.cpp @@ -25,6 +25,7 @@ #include #include #include +#include #include #include diff --git a/flowexperimental/BlackOilIntensiveQuantitiesGlobalIndex.hpp b/flowexperimental/BlackOilIntensiveQuantitiesGlobalIndex.hpp index 6ea4f5b108..550f58a1ea 100644 --- a/flowexperimental/BlackOilIntensiveQuantitiesGlobalIndex.hpp +++ b/flowexperimental/BlackOilIntensiveQuantitiesGlobalIndex.hpp @@ -42,7 +42,6 @@ #include #include -#include #include #include #include diff --git a/opm/models/blackoil/blackoilextensivequantities.hh b/opm/models/blackoil/blackoilextensivequantities.hh index 8b725c5524..45353e8088 100644 --- a/opm/models/blackoil/blackoilextensivequantities.hh +++ b/opm/models/blackoil/blackoilextensivequantities.hh @@ -30,7 +30,6 @@ #include #include -#include #include namespace Opm { diff --git a/opm/models/blackoil/blackoilintensivequantities.hh b/opm/models/blackoil/blackoilintensivequantities.hh index e55b5177c3..25fbcd581f 100644 --- a/opm/models/blackoil/blackoilintensivequantities.hh +++ b/opm/models/blackoil/blackoilintensivequantities.hh @@ -40,7 +40,6 @@ #include #include #include -#include #include #include #include diff --git a/opm/models/blackoil/blackoillocalresidual.hh b/opm/models/blackoil/blackoillocalresidual.hh index e7233f61bd..17f7feb876 100644 --- a/opm/models/blackoil/blackoillocalresidual.hh +++ b/opm/models/blackoil/blackoillocalresidual.hh @@ -34,7 +34,6 @@ #include #include #include -#include #include diff --git a/opm/models/blackoil/blackoillocalresidualtpfa.hh b/opm/models/blackoil/blackoillocalresidualtpfa.hh index 5c0ab9d0d7..612954ecdb 100644 --- a/opm/models/blackoil/blackoillocalresidualtpfa.hh +++ b/opm/models/blackoil/blackoillocalresidualtpfa.hh @@ -40,8 +40,6 @@ #include #include #include -#include -#include #include #include diff --git a/opm/models/blackoil/blackoilmodel.hh b/opm/models/blackoil/blackoilmodel.hh index 7ab38671f6..ec5111da00 100644 --- a/opm/models/blackoil/blackoilmodel.hh +++ b/opm/models/blackoil/blackoilmodel.hh @@ -45,7 +45,6 @@ #include #include #include -#include #include #include diff --git a/opm/models/blackoil/blackoilmodules.hpp b/opm/models/blackoil/blackoilmodules.hpp index 6a5844d0e3..a689eecb6b 100644 --- a/opm/models/blackoil/blackoilmodules.hpp +++ b/opm/models/blackoil/blackoilmodules.hpp @@ -54,6 +54,7 @@ DECLARE_MODULE(BlackOilDispersion) DECLARE_MODULE(BlackOilExtbo) DECLARE_MODULE(BlackOilFoam) DECLARE_MODULE(BlackOilPolymer) +DECLARE_MODULE(BlackOilSolvent) #undef DECLARE_MODULE diff --git a/opm/models/blackoil/blackoilprimaryvariables.hh b/opm/models/blackoil/blackoilprimaryvariables.hh index 0a1d9180b5..5525dccaff 100644 --- a/opm/models/blackoil/blackoilprimaryvariables.hh +++ b/opm/models/blackoil/blackoilprimaryvariables.hh @@ -37,7 +37,6 @@ #include #include #include -#include #include diff --git a/opm/models/blackoil/blackoilratevector.hh b/opm/models/blackoil/blackoilratevector.hh index 863d37ddb2..6beb952f87 100644 --- a/opm/models/blackoil/blackoilratevector.hh +++ b/opm/models/blackoil/blackoilratevector.hh @@ -35,7 +35,7 @@ #include #include -#include +#include #include #include diff --git a/opm/models/blackoil/blackoilsolventmodules.hh b/opm/models/blackoil/blackoilsolventmodules.hh index 50a3bb0e2b..33bd44d557 100644 --- a/opm/models/blackoil/blackoilsolventmodules.hh +++ b/opm/models/blackoil/blackoilsolventmodules.hh @@ -37,6 +37,7 @@ #include #include +#include #include #include @@ -54,15 +55,10 @@ #include #include #include -#include #include namespace Opm { - -template -class BlackOilSolventModule; - /*! * \ingroup BlackOil * \brief Contains the high level supplements required to extend the black oil @@ -525,14 +521,6 @@ template BlackOilSolventParams::Scalar> BlackOilSolventModule::params_; -template -class BlackOilSolventModule -{ -}; - -template -class BlackOilSolventIntensiveQuantities; - /*! * \ingroup BlackOil * \class Opm::BlackOilSolventIntensiveQuantities @@ -1129,14 +1117,6 @@ protected: Scalar solventRefDensity_; }; -template -class BlackOilSolventIntensiveQuantities -{ -}; - -template -class BlackOilSolventExtensiveQuantities; - /*! * \ingroup BlackOil * \class Opm::BlackOilSolventExtensiveQuantities @@ -1378,11 +1358,6 @@ private: unsigned solventDownstreamDofIdx_; }; -template -class BlackOilSolventExtensiveQuantities -{ -}; - } // namespace Opm #endif diff --git a/opm/simulators/flow/NewTranFluxModule.hpp b/opm/simulators/flow/NewTranFluxModule.hpp index 2031de6ba7..3c97e467dd 100644 --- a/opm/simulators/flow/NewTranFluxModule.hpp +++ b/opm/simulators/flow/NewTranFluxModule.hpp @@ -126,13 +126,13 @@ class NewTranExtensiveQuantities enum { dimWorld = GridView::dimensionworld }; enum { gasPhaseIdx = FluidSystem::gasPhaseIdx }; enum { numPhases = FluidSystem::numPhases }; - static constexpr bool enableSolvent = getPropValue(); static constexpr bool enableConvectiveMixing = getPropValue(); static constexpr bool enableExtbo = getPropValue(); static constexpr bool enableEnergy = getPropValue() == EnergyModules::FullyImplicitThermal; static constexpr bool enablePolymer = getPropValue(); + static constexpr bool enableSolvent = getPropValue(); using Toolbox = MathToolbox; using DimVector = Dune::FieldVector; diff --git a/opm/simulators/wells/StandardWell.hpp b/opm/simulators/wells/StandardWell.hpp index e7bc774d70..821906d127 100644 --- a/opm/simulators/wells/StandardWell.hpp +++ b/opm/simulators/wells/StandardWell.hpp @@ -32,7 +32,6 @@ #include #include -#include #include #include