Skip to content
Snippets Groups Projects
Commit 913a0697 authored by Robert K's avatar Robert K Committed by Tobias Malkmus
Browse files

[cleanup] make it easy to enable UMFPACKOp again.

parent 3c701bb9
No related branches found
No related tags found
No related merge requests found
...@@ -29,9 +29,10 @@ ...@@ -29,9 +29,10 @@
#include <dune/fem/solver/istlsolver.hh> #include <dune/fem/solver/istlsolver.hh>
#endif #endif
//#if HAVE_UMFPACK || HAVE_SUITESPARSE_UMFPACK #if HAVE_UMFPACK || HAVE_SUITESPARSE_UMFPACK
//#include <dune/fem/solver/umfpacksolver.hh> //#define USE_UMFPACKSOLVER 1
//#endif #include <dune/fem/solver/umfpacksolver.hh>
#endif
#if HAVE_PETSC #if HAVE_PETSC
#include <dune/fem/function/petscdiscretefunction/petscdiscretefunction.hh> #include <dune/fem/function/petscdiscretefunction/petscdiscretefunction.hh>
...@@ -473,8 +474,7 @@ namespace Fem ...@@ -473,8 +474,7 @@ namespace Fem
}; };
#endif // HAVE_ISTL #endif // HAVE_ISTL
#if 0 #if USE_UMFPACKSOLVER
// HAVE_UMFPACK || HAVE_SUITESPARSE_UMFPACK
template <class DomainDFSpace, class RangeDFSpace, bool symmetric> template <class DomainDFSpace, class RangeDFSpace, bool symmetric>
struct MatrixSolverSelector<Solver::Enum::umfpack,symmetric,DomainDFSpace,RangeDFSpace> struct MatrixSolverSelector<Solver::Enum::umfpack,symmetric,DomainDFSpace,RangeDFSpace>
{ {
...@@ -493,6 +493,7 @@ namespace Fem ...@@ -493,6 +493,7 @@ namespace Fem
static_warning(false, "You have chosen the UMFPACK solver backend which is currently not installed. Falling back to standard solver!"); static_warning(false, "You have chosen the UMFPACK solver backend which is currently not installed. Falling back to standard solver!");
}; };
#endif #endif
#undef USE_UMFPACKSOLVER
#if HAVE_PETSC #if HAVE_PETSC
template <class DomainDFSpace, class RangeDFSpace,bool symmetric> template <class DomainDFSpace, class RangeDFSpace,bool symmetric>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment