remove template parameters for enableEnergy/Diffusion in transmissibility

- the diffusion one is basically done on runtime anyways
- the energy one gives some small code elimination gains
  however, it complicates the writing of downstream templates.
This commit is contained in:
Arne Morten Kvarving
2021-05-15 13:35:21 +02:00
parent 91dae1aa6f
commit 86fc165af6
5 changed files with 88 additions and 102 deletions

View File

@@ -86,9 +86,7 @@ public:
using Grid = GetPropType<TypeTag, Properties::Grid>;
using EquilGrid = GetPropType<TypeTag, Properties::EquilGrid>;
using GridView = GetPropType<TypeTag, Properties::GridView>;
using TransmissibilityType = EclTransmissibility<Grid, GridView, ElementMapper, Scalar,
getPropValue<TypeTag, Properties::EnableEnergy>(),
getPropValue<TypeTag, Properties::EnableDiffusion>()>;
using TransmissibilityType = EclTransmissibility<Grid, GridView, ElementMapper, Scalar>;
private:
typedef Grid* GridPointer;