No need for specific base local residual class.

This commit is contained in:
Atgeirr Flø Rasmussen 2022-06-24 14:01:45 +02:00
parent 9dba7865e9
commit 4d0fc84b1f

View File

@ -23,7 +23,7 @@
// modifications from standard // modifications from standard
#include <opm/models/blackoil/blackoillocalresidualtpfa.hh> #include <opm/models/blackoil/blackoillocalresidualtpfa.hh>
#include <opm/models/blackoil/blackoilintensivequantitiessimple.hh> #include <opm/models/blackoil/blackoilintensivequantitiessimple.hh>
#include <opm/models/discretization/common/fvbaselocalresidualtpfa.hh> //#include <opm/models/discretization/common/fvbaselocalresidualtpfa.hh>
//#include <opm/models/discretization/common/fvbaseadlocallinearizertpfa.hh> //#include <opm/models/discretization/common/fvbaseadlocallinearizertpfa.hh>
#include <opm/models/discretization/common/smallelementcontext.hh> #include <opm/models/discretization/common/smallelementcontext.hh>
#include <ebos/eclfluxmoduletpfa.hh> #include <ebos/eclfluxmoduletpfa.hh>
@ -69,8 +69,8 @@ namespace Opm {
template<class TypeTag> template<class TypeTag>
struct LocalResidual<TypeTag, TTag::EclFlowProblemTPFA> { using type = BlackOilLocalResidualTPFA<TypeTag>; }; struct LocalResidual<TypeTag, TTag::EclFlowProblemTPFA> { using type = BlackOilLocalResidualTPFA<TypeTag>; };
template<class TypeTag> template<class TypeTag>
struct DiscLocalResidual<TypeTag, TTag::EclFlowProblemTPFA> { using type = FvBaseLocalResidualTPFA<TypeTag>; }; // struct DiscLocalResidual<TypeTag, TTag::EclFlowProblemTPFA> { using type = FvBaseLocalResidualTPFA<TypeTag>; };
template<class TypeTag> // template<class TypeTag>
struct ElementContext<TypeTag, TTag::EclFlowProblemTPFA> { using type = SmallElementContext<TypeTag>; }; struct ElementContext<TypeTag, TTag::EclFlowProblemTPFA> { using type = SmallElementContext<TypeTag>; };
//struct ElementContext<TypeTag, TTag::EclFlowProblemTPFA> { using type = FvBaseElementContext<TypeTag>; }; //struct ElementContext<TypeTag, TTag::EclFlowProblemTPFA> { using type = FvBaseElementContext<TypeTag>; };
} }