mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
adjust for ILU reorder removal
This commit is contained in:
parent
5466fdd289
commit
9ce8d1ceca
@ -22,7 +22,6 @@
|
|||||||
|
|
||||||
#include <opm/simulators/linalg/bda/BdaResult.hpp>
|
#include <opm/simulators/linalg/bda/BdaResult.hpp>
|
||||||
#include <opm/simulators/linalg/bda/BdaSolver.hpp>
|
#include <opm/simulators/linalg/bda/BdaSolver.hpp>
|
||||||
#include <opm/simulators/linalg/bda/ILUReorder.hpp>
|
|
||||||
#include <opm/simulators/linalg/bda/WellContributions.hpp>
|
#include <opm/simulators/linalg/bda/WellContributions.hpp>
|
||||||
|
|
||||||
#include <rocalution.hpp>
|
#include <rocalution.hpp>
|
||||||
|
@ -88,7 +88,7 @@ testRocalutionSolver(const boost::property_tree::ptree& prm, Matrix<bz>& matrix,
|
|||||||
const int linear_solver_verbosity = prm.get<int>("verbosity");
|
const int linear_solver_verbosity = prm.get<int>("verbosity");
|
||||||
const int maxit = prm.get<int>("maxiter");
|
const int maxit = prm.get<int>("maxiter");
|
||||||
const double tolerance = prm.get<double>("tol");
|
const double tolerance = prm.get<double>("tol");
|
||||||
const std::string opencl_ilu_reorder("none");
|
const bool opencl_ilu_parallel(true);
|
||||||
const int platformID = 0;
|
const int platformID = 0;
|
||||||
const int deviceID = 0;
|
const int deviceID = 0;
|
||||||
const std::string accelerator_mode("rocalution");
|
const std::string accelerator_mode("rocalution");
|
||||||
@ -107,7 +107,7 @@ testRocalutionSolver(const boost::property_tree::ptree& prm, Matrix<bz>& matrix,
|
|||||||
tolerance,
|
tolerance,
|
||||||
platformID,
|
platformID,
|
||||||
deviceID,
|
deviceID,
|
||||||
opencl_ilu_reorder,
|
opencl_ilu_parallel,
|
||||||
linsolver);
|
linsolver);
|
||||||
} catch (const std::logic_error& error) {
|
} catch (const std::logic_error& error) {
|
||||||
BOOST_WARN_MESSAGE(true, error.what());
|
BOOST_WARN_MESSAGE(true, error.what());
|
||||||
|
Loading…
Reference in New Issue
Block a user