mirror of
https://github.com/OPM/opm-upscaling.git
synced 2026-08-26 13:07:11 -05:00
Chase Removal of HAVE_UMFPACK Preprocessor Symbol
Following PR OPM/opm-common#4202 (commit OPM/opm-common@757a9538b) there is only HAVE_SUITESPARSE_UMFPACK.
This commit is contained in:
@@ -79,7 +79,6 @@ macro (config_hook)
|
||||
opm_need_version_of ("dune-istl")
|
||||
list (APPEND ${project}_CONFIG_IMPL_VARS
|
||||
HAVE_LAPACK
|
||||
HAVE_UMFPACK
|
||||
HAVE_SUPERLU
|
||||
HAVE_SUITESPARSE_UMFPACK
|
||||
)
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
namespace Opm {
|
||||
namespace Elasticity {
|
||||
|
||||
#if defined(HAVE_UMFPACK)
|
||||
#if defined(HAVE_SUITESPARSE_UMFPACK)
|
||||
typedef Dune::UMFPack<Matrix> LUSolver;
|
||||
#elif defined(HAVE_SUPERLU)
|
||||
typedef Dune::SuperLU<Matrix> LUSolver;
|
||||
|
||||
@@ -1054,7 +1054,7 @@ IMPL_FUNC(void, setupSolvers(const LinSolParams& params))
|
||||
if (B.N())
|
||||
A.getOperator() = MatrixOps::augment(A.getOperator(), B,
|
||||
0, A.getOperator().M(), true);
|
||||
#if HAVE_UMFPACK || HAVE_SUPERLU
|
||||
#if HAVE_SUITESPARSE_UMFPACK || HAVE_SUPERLU
|
||||
tsolver.push_back(SolverPtr(new LUSolver(A.getOperator(),
|
||||
verbose?2:(params.report?1:0))));
|
||||
for (int i=1;i<numsolvers;++i)
|
||||
|
||||
Reference in New Issue
Block a user