Use the non-accelerated linear solver for some tests.

This is just for the type tag.
This commit is contained in:
Atgeirr Flø Rasmussen 2023-09-25 10:44:06 +02:00
parent e4e32defc4
commit 18883e7f83
2 changed files with 11 additions and 1 deletions

View File

@ -34,7 +34,7 @@
#include <opm/models/utils/start.hh>
#include <opm/simulators/aquifers/BlackoilAquiferModel.hpp>
#include <opm/simulators/linalg/ISTLSolverEbosBda.hpp>
#include <opm/simulators/linalg/ISTLSolverEbos.hpp>
#include <opm/simulators/wells/BlackoilWellModel.hpp>
namespace Opm {
@ -113,6 +113,11 @@ struct LinearSolverSplice<TypeTag, TTag::EbosTypeTag> {
using type = TTag::FlowIstlSolver;
};
template<>
struct LinearSolverBackend<TTag::EbosTypeTag, TTag::FlowIstlSolverParams> {
using type = ISTLSolverEbos<TTag::EbosTypeTag>;
};
// the default for the allowed volumetric error for oil per second
template<class TypeTag>
struct NewtonTolerance<TypeTag, TTag::EbosTypeTag> {

View File

@ -63,6 +63,11 @@ namespace Opm::Properties {
using InheritsFrom = std::tuple<EbosTypeTag, FlowTimeSteppingParameters>;
};
}
template<>
struct LinearSolverBackend<TTag::TestRestartTypeTag, TTag::FlowIstlSolverParams> {
using type = ISTLSolverEbos<TTag::TestRestartTypeTag>;
};
}
template<class T>