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 @@
#include <dune/fem/solver/istlsolver.hh>
#endif
//#if HAVE_UMFPACK || HAVE_SUITESPARSE_UMFPACK
//#include <dune/fem/solver/umfpacksolver.hh>
//#endif
#if HAVE_UMFPACK || HAVE_SUITESPARSE_UMFPACK
//#define USE_UMFPACKSOLVER 1
#include <dune/fem/solver/umfpacksolver.hh>
#endif
#if HAVE_PETSC
#include <dune/fem/function/petscdiscretefunction/petscdiscretefunction.hh>
......@@ -473,8 +474,7 @@ namespace Fem
};
#endif // HAVE_ISTL
#if 0
// HAVE_UMFPACK || HAVE_SUITESPARSE_UMFPACK
#if USE_UMFPACKSOLVER
template <class DomainDFSpace, class RangeDFSpace, bool symmetric>
struct MatrixSolverSelector<Solver::Enum::umfpack,symmetric,DomainDFSpace,RangeDFSpace>
{
......@@ -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!");
};
#endif
#undef USE_UMFPACKSOLVER
#if HAVE_PETSC
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