mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
ecltransmissibility: separate from typetag
this allows using explicit template instantation to only compile this code per grid, not per simulator object
This commit is contained in:
@@ -528,7 +528,9 @@ private:
|
||||
typedef Dune::MultipleCodimMultipleGeomTypeMapper<GlobalGridView> ElementMapper;
|
||||
ElementMapper globalElemMapper(globalGridView, Dune::mcmgElementLayout());
|
||||
|
||||
const EclTransmissibility<TypeTag>* globalTrans;
|
||||
using TransmissibilityType = typename Vanguard::TransmissibilityType;
|
||||
|
||||
const TransmissibilityType* globalTrans;
|
||||
|
||||
if (!collectToIORank_.isParallel())
|
||||
{
|
||||
@@ -622,7 +624,8 @@ private:
|
||||
typedef Dune::MultipleCodimMultipleGeomTypeMapper<GlobalGridView> ElementMapper;
|
||||
ElementMapper globalElemMapper(globalGridView, Dune::mcmgElementLayout());
|
||||
|
||||
const EclTransmissibility<TypeTag>* globalTrans;
|
||||
using TransmissibilityType = typename Vanguard::TransmissibilityType;
|
||||
const TransmissibilityType* globalTrans;
|
||||
if (!collectToIORank_.isParallel()) {
|
||||
// in the sequential case we must use the transmissibilites defined by
|
||||
// the problem. (because in the sequential case, the grid manager does
|
||||
|
||||
Reference in New Issue
Block a user