mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-28 15:46:25 -06:00
Use separate TpfaLinearizer (again).
This commit is contained in:
parent
4d0fc84b1f
commit
657f4f5b8e
@ -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> {
|
||||
|
Loading…
Reference in New Issue
Block a user