diff --git a/opm/models/blackoil/blackoilintensivequantities.hh b/opm/models/blackoil/blackoilintensivequantities.hh index 27c452011..0ec88e80a 100644 --- a/opm/models/blackoil/blackoilintensivequantities.hh +++ b/opm/models/blackoil/blackoilintensivequantities.hh @@ -109,10 +109,11 @@ class BlackOilIntensiveQuantities using Toolbox = MathToolbox; using DimMatrix = Dune::FieldMatrix; using FluxIntensiveQuantities = typename FluxModule::FluxIntensiveQuantities; - using FluidState = BlackOilFluidState; + using DiffusionIntensiveQuantities = BlackOilDiffusionIntensiveQuantities; public: + using FluidState = BlackOilFluidState; BlackOilIntensiveQuantities() { if (compositionSwitchEnabled) { diff --git a/opm/models/blackoil/blackoillocalresidualtpfa.hh b/opm/models/blackoil/blackoillocalresidualtpfa.hh index eda11d0bf..75f1a7ce4 100644 --- a/opm/models/blackoil/blackoillocalresidualtpfa.hh +++ b/opm/models/blackoil/blackoillocalresidualtpfa.hh @@ -25,8 +25,8 @@ * * \copydoc Opm::BlackOilLocalResidual */ -#ifndef EWOMS_BLACK_OIL_LOCAL_RESIDUAL_HH -#define EWOMS_BLACK_OIL_LOCAL_RESIDUAL_HH +#ifndef EWOMS_BLACK_OIL_LOCAL_TPFA_RESIDUAL_HH +#define EWOMS_BLACK_OIL_LOCAL_TPFA_RESIDUAL_HH #include "blackoilproperties.hh" #include "blackoilsolventmodules.hh" @@ -46,7 +46,7 @@ namespace Opm { * \brief Calculates the local residual of the black oil model. */ template -class BlackOilLocalResidual : public GetPropType +class BlackOilLocalResidualTPFA : public GetPropType { using IntensiveQuantities = GetPropType; using ExtensiveQuantities = GetPropType;