Revert "Check for HAVE_UMFPACK in LinearSolverFactory"
This reverts commit f54c74db06
.
This commit is contained in:
parent
192bb54e70
commit
ba255d89d3
@ -23,7 +23,7 @@
|
||||
|
||||
#include <opm/core/linalg/LinearSolverFactory.hpp>
|
||||
|
||||
#if HAVE_UMFPACK
|
||||
#if HAVE_SUITESPARSE_UMFPACK_H
|
||||
#include <opm/core/linalg/LinearSolverUmfpack.hpp>
|
||||
#endif
|
||||
|
||||
@ -45,7 +45,7 @@ namespace Opm
|
||||
|
||||
LinearSolverFactory::LinearSolverFactory()
|
||||
{
|
||||
#if HAVE_UMFPACK
|
||||
#if HAVE_SUITESPARSE_UMFPACK_H
|
||||
solver_.reset(new LinearSolverUmfpack);
|
||||
#elif HAVE_DUNE_ISTL
|
||||
solver_.reset(new LinearSolverIstl);
|
||||
@ -65,7 +65,7 @@ namespace Opm
|
||||
param.getDefault<std::string>("linsolver", "umfpack");
|
||||
|
||||
if (ls == "umfpack") {
|
||||
#if HAVE_UMFPACK
|
||||
#if HAVE_SUITESPARSE_UMFPACK_H
|
||||
solver_.reset(new LinearSolverUmfpack);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user