mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user