Use separate TpfaLinearizer (again).

This commit is contained in:
Atgeirr Flø Rasmussen 2022-06-24 15:56:40 +02:00
parent 4d0fc84b1f
commit 657f4f5b8e

View File

@ -26,6 +26,7 @@
//#include <opm/models/discretization/common/fvbaselocalresidualtpfa.hh>
//#include <opm/models/discretization/common/fvbaseadlocallinearizertpfa.hh>
#include <opm/models/discretization/common/smallelementcontext.hh>
#include <opm/models/discretization/common/tpfalinearizer.hh>
#include <ebos/eclfluxmoduletpfa.hh>
#include <ebos/eclproblemtpfa.hh>
@ -51,12 +52,12 @@ namespace Opm {
namespace Opm {
namespace Properties {
// template<class TypeTag>
// struct Linearizer<TypeTag, TTag::EclFlowProblemTPFA> { using type = LinearizerTPFA<TypeTag>; };
// Override default: use the TPFA linearizer.
template<class TypeTag>
struct UseTpfaLinearizer<TypeTag, TTag::EclFlowProblemTPFA> { static constexpr bool value = true; };
struct Linearizer<TypeTag, TTag::EclFlowProblemTPFA> { using type = TpfaLinearizer<TypeTag>; };
// // Override default: use the TPFA linearizer.
// template<class TypeTag>
// struct UseTpfaLinearizer<TypeTag, TTag::EclFlowProblemTPFA> { static constexpr bool value = true; };
// template<class TypeTag>
// struct LocalLinearizerSplice<TypeTag, TTag::EclFlowProblemTPFA> {