mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-11-03 12:47:42 -06:00
Merge pull request #6113 from jakobtorben/Make_WellModelMatrixAdapter_serial_only
Make wellModelMatrixAdapter serial only
This commit is contained in:
5 files changed
+11
-33
No files matched your search
@@ -77,7 +77,7 @@ createSolverAdapterWithMatrix(const size_t N = 10)
|
||||
auto sp = std::make_shared<Dune::ScalarProduct<Vector>>();
|
||||
auto prm = Opm::PropertyTree();
|
||||
prm.put<double>("relaxation", 1.0);
|
||||
prm.put<std::string>("type", "CUILU0");
|
||||
prm.put<std::string>("type", "GPUILU0");
|
||||
auto prec = PrecondFactory::create(*op, prm);
|
||||
auto solverAdapter = std::make_shared<SolverAdapter>(*op, *sp, prec, 1.0, 10, 0, Dune::Amg::SequentialInformation());
|
||||
|
||||
|
||||
Reference in new issue
Block a user