Skip to content
Snippets Groups Projects
Commit 467042a8 authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'cleanup/tpfa-ficks-law' into 'master'

Cleanup/tpfa ficks law

See merge request !1939
parents 0c6965d6 ff0111f9
No related branches found
No related tags found
1 merge request!1939Cleanup/tpfa ficks law
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
#ifndef DUMUX_DISCRETIZATION_CC_TPFA_FICKS_LAW_HH #ifndef DUMUX_DISCRETIZATION_CC_TPFA_FICKS_LAW_HH
#define 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/parameters.hh>
#include <dumux/common/properties.hh> #include <dumux/common/properties.hh>
#include <dumux/common/deprecated.hh> #include <dumux/common/deprecated.hh>
...@@ -63,14 +65,11 @@ class FicksLawImplementation<TypeTag, DiscretizationMethod::cctpfa, referenceSys ...@@ -63,14 +65,11 @@ class FicksLawImplementation<TypeTag, DiscretizationMethod::cctpfa, referenceSys
using BalanceEqOpts = GetPropType<TypeTag, Properties::BalanceEqOpts>; using BalanceEqOpts = GetPropType<TypeTag, Properties::BalanceEqOpts>;
using ModelTraits = GetPropType<TypeTag, Properties::ModelTraits>; using ModelTraits = GetPropType<TypeTag, Properties::ModelTraits>;
using Indices = typename ModelTraits::Indices;
static const int dim = GridView::dimension; static const int dim = GridView::dimension;
static const int dimWorld = GridView::dimensionworld; static const int dimWorld = GridView::dimensionworld;
static const int numPhases = ModelTraits::numFluidPhases(); static const int numPhases = ModelTraits::numFluidPhases();
static const int numComponents = ModelTraits::numFluidComponents(); static const int numComponents = ModelTraits::numFluidComponents();
using DimWorldMatrix = Dune::FieldMatrix<Scalar, dimWorld, dimWorld>;
using ComponentFluxVector = Dune::FieldVector<Scalar, numComponents>; using ComponentFluxVector = Dune::FieldVector<Scalar, numComponents>;
//! Class that fills the cache corresponding to tpfa Fick's Law //! Class that fills the cache corresponding to tpfa Fick's Law
......
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