diff --git a/dumux/flux/cctpfa/fickslaw.hh b/dumux/flux/cctpfa/fickslaw.hh index 7fb058f7dbc3a57fc35b0fab9b66c602fe24b93c..e7b0039f1dee6786b3d0ca144e48a4b74bbb4f49 100644 --- a/dumux/flux/cctpfa/fickslaw.hh +++ b/dumux/flux/cctpfa/fickslaw.hh @@ -24,6 +24,8 @@ #ifndef DUMUX_DISCRETIZATION_CC_TPFA_FICKS_LAW_HH #define DUMUX_DISCRETIZATION_CC_TPFA_FICKS_LAW_HH +#include <dune/common/fvector.hh> + #include <dumux/common/parameters.hh> #include <dumux/common/properties.hh> #include <dumux/common/deprecated.hh> @@ -63,14 +65,11 @@ class FicksLawImplementation<TypeTag, DiscretizationMethod::cctpfa, referenceSys using BalanceEqOpts = GetPropType<TypeTag, Properties::BalanceEqOpts>; using ModelTraits = GetPropType<TypeTag, Properties::ModelTraits>; - using Indices = typename ModelTraits::Indices; - static const int dim = GridView::dimension; static const int dimWorld = GridView::dimensionworld; static const int numPhases = ModelTraits::numFluidPhases(); static const int numComponents = ModelTraits::numFluidComponents(); - using DimWorldMatrix = Dune::FieldMatrix<Scalar, dimWorld, dimWorld>; using ComponentFluxVector = Dune::FieldVector<Scalar, numComponents>; //! Class that fills the cache corresponding to tpfa Fick's Law