mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use new linearizer for blackoil + thermal
This commit is contained in:
parent
09d7e8d8c5
commit
2095dd7df3
@ -22,6 +22,8 @@
|
||||
#include <opm/grid/CpGrid.hpp>
|
||||
#include <opm/simulators/flow/SimulatorFullyImplicitBlackoil.hpp>
|
||||
#include <opm/simulators/flow/Main.hpp>
|
||||
#include <opm/models/blackoil/blackoillocalresidualtpfa.hh>
|
||||
#include <opm/models/discretization/common/tpfalinearizer.hh>
|
||||
|
||||
namespace Opm {
|
||||
namespace Properties {
|
||||
@ -35,6 +37,12 @@ template<class TypeTag>
|
||||
struct EnableEnergy<TypeTag, TTag::FlowEnergyProblem> {
|
||||
static constexpr bool value = true;
|
||||
};
|
||||
template<class TypeTag>
|
||||
struct Linearizer<TypeTag, TTag::FlowEnergyProblem> { using type = TpfaLinearizer<TypeTag>; };
|
||||
template<class TypeTag>
|
||||
struct LocalResidual<TypeTag, TTag::FlowEnergyProblem> { using type = BlackOilLocalResidualTPFA<TypeTag>; };
|
||||
|
||||
|
||||
}}
|
||||
|
||||
namespace Opm {
|
||||
|
Loading…
Reference in New Issue
Block a user