diff --git a/opm/models/common/darcyfluxmodule.hh b/opm/models/common/darcyfluxmodule.hh index 7478b483a4..5c6f122a58 100644 --- a/opm/models/common/darcyfluxmodule.hh +++ b/opm/models/common/darcyfluxmodule.hh @@ -132,7 +132,6 @@ class DarcyExtensiveQuantities enum { numPhases = getPropValue() }; using Toolbox = MathToolbox; - using ParameterCache = typename FluidSystem::template ParameterCache; using EvalDimVector = Dune::FieldVector; using DimVector = Dune::FieldVector; using DimMatrix = Dune::FieldMatrix; diff --git a/opm/models/common/diffusionmodule.hh b/opm/models/common/diffusionmodule.hh index 9b7621e894..5053c61245 100644 --- a/opm/models/common/diffusionmodule.hh +++ b/opm/models/common/diffusionmodule.hh @@ -56,8 +56,6 @@ class DiffusionModule; template class DiffusionModule { - using Scalar = GetPropType; - using FluidSystem = GetPropType; using RateVector = GetPropType; public: @@ -297,7 +295,6 @@ class DiffusionExtensiveQuantities; template class DiffusionExtensiveQuantities { - using Scalar = GetPropType; using Evaluation = GetPropType; using ElementContext = GetPropType; diff --git a/opm/models/common/energymodule.hh b/opm/models/common/energymodule.hh index 590c3f4914..7ebc060081 100644 --- a/opm/models/common/energymodule.hh +++ b/opm/models/common/energymodule.hh @@ -61,7 +61,6 @@ class EnergyModule { using Scalar = GetPropType; using Evaluation = GetPropType; - using FluidSystem = GetPropType; using RateVector = GetPropType; using PrimaryVariables = GetPropType; using ExtensiveQuantities = GetPropType; @@ -70,8 +69,6 @@ class EnergyModule enum { numEq = getPropValue() }; - using EvalEqVector = Dune::FieldVector; - public: /*! * \brief Register all run-time parameters for the energy module. @@ -229,7 +226,6 @@ class EnergyModule using Scalar = GetPropType; using Evaluation = GetPropType; using FluidSystem = GetPropType; - using EqVector = GetPropType; using RateVector = GetPropType; using PrimaryVariables = GetPropType; using IntensiveQuantities = GetPropType; @@ -242,7 +238,6 @@ class EnergyModule enum { energyEqIdx = Indices::energyEqIdx }; enum { temperatureIdx = Indices::temperatureIdx }; - using EvalEqVector = Dune::FieldVector; using Toolbox = Opm::MathToolbox; public: @@ -613,7 +608,6 @@ class EnergyIntensiveQuantities using Indices = GetPropType; enum { numPhases = FluidSystem::numPhases }; - enum { energyEqIdx = Indices::energyEqIdx }; enum { temperatureIdx = Indices::temperatureIdx }; using Toolbox = Opm::MathToolbox; diff --git a/opm/models/common/forchheimerfluxmodule.hh b/opm/models/common/forchheimerfluxmodule.hh index 0fac791c44..7eba65e253 100644 --- a/opm/models/common/forchheimerfluxmodule.hh +++ b/opm/models/common/forchheimerfluxmodule.hh @@ -132,7 +132,6 @@ public: template class ForchheimerIntensiveQuantities { - using Scalar = GetPropType; using Evaluation = GetPropType; using ElementContext = GetPropType; @@ -219,8 +218,6 @@ class ForchheimerExtensiveQuantities : public DarcyExtensiveQuantities { using DarcyExtQuants = DarcyExtensiveQuantities; - using FluidSystem = GetPropType; - using MaterialLaw = GetPropType; using ElementContext = GetPropType; using Scalar = GetPropType; using Evaluation = GetPropType; diff --git a/opm/models/common/multiphasebaseextensivequantities.hh b/opm/models/common/multiphasebaseextensivequantities.hh index 30f852f2e0..3949b37a11 100644 --- a/opm/models/common/multiphasebaseextensivequantities.hh +++ b/opm/models/common/multiphasebaseextensivequantities.hh @@ -54,7 +54,6 @@ class MultiPhaseBaseExtensiveQuantities using ParentType = GetPropType; using Scalar = GetPropType; using ElementContext = GetPropType; - using FluidSystem = GetPropType; enum { numPhases = getPropValue() }; @@ -110,7 +109,6 @@ public: * the extensive quantities should be calculated. * \param timeIdx The index used by the time discretization. * \param fluidState The FluidState on the domain boundary. - * \param paramCache The FluidSystem's parameter cache. */ template void updateBoundary(const Context& context, diff --git a/opm/models/common/multiphasebasemodel.hh b/opm/models/common/multiphasebasemodel.hh index 4b88b4983a..040d38e769 100644 --- a/opm/models/common/multiphasebasemodel.hh +++ b/opm/models/common/multiphasebasemodel.hh @@ -167,12 +167,9 @@ template class MultiPhaseBaseModel : public GetPropType { using ParentType = GetPropType; - using Implementation = GetPropType; + using Implementation = GetPropType; using Simulator = GetPropType; using ThreadManager = GetPropType; - using Scalar = GetPropType; - using Indices = GetPropType; - using FluidSystem = GetPropType; using ElementContext = GetPropType; using EqVector = GetPropType; using GridView = GetPropType; @@ -181,7 +178,6 @@ class MultiPhaseBaseModel : public GetPropType::Entity; enum { numPhases = getPropValue() }; - enum { numComponents = FluidSystem::numComponents }; public: explicit MultiPhaseBaseModel(Simulator& simulator) diff --git a/opm/models/common/multiphasebaseproblem.hh b/opm/models/common/multiphasebaseproblem.hh index c8cdbdafe6..79cfdbaa5b 100644 --- a/opm/models/common/multiphasebaseproblem.hh +++ b/opm/models/common/multiphasebaseproblem.hh @@ -79,6 +79,7 @@ class MultiPhaseBaseProblem enum { dimWorld = GridView::dimensionworld }; enum { numPhases = getPropValue() }; + using DimVector = Dune::FieldVector; using DimMatrix = Dune::FieldMatrix; //! \endcond diff --git a/opm/models/common/quantitycallbacks.hh b/opm/models/common/quantitycallbacks.hh index 0b4a822548..0abaa8d4b4 100644 --- a/opm/models/common/quantitycallbacks.hh +++ b/opm/models/common/quantitycallbacks.hh @@ -139,7 +139,6 @@ class BoundaryPressureCallback using IQRawFluidState = decltype(std::declval().fluidState()); using IQFluidState = std::remove_const_t>; using IQScalar = typename IQFluidState::Scalar; - using Toolbox = MathToolbox; public: using ResultType = IQScalar; @@ -342,12 +341,9 @@ class VelocityCallback { using ElementContext = GetPropType; using IntensiveQuantities = GetPropType; - using GridView = GetPropType; using ResultRawType = decltype(IntensiveQuantities().velocityCenter()); - enum { dim = GridView::dimensionworld }; - public: using ResultType = std::remove_const_t>; using ResultFieldType = typename ResultType::field_type; diff --git a/opm/models/common/transfluxmodule.hh b/opm/models/common/transfluxmodule.hh index 69ce387f1c..f1882564ed 100644 --- a/opm/models/common/transfluxmodule.hh +++ b/opm/models/common/transfluxmodule.hh @@ -117,7 +117,6 @@ class TransExtensiveQuantities enum { numPhases = FluidSystem::numPhases }; typedef MathToolbox Toolbox; - typedef Dune::FieldVector DimVector; typedef Dune::FieldVector EvalDimVector; typedef Dune::FieldMatrix DimMatrix;