Commit 430eb25a authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

hide UmfpackRunner, if umfpack is not available

parent 5d5e8c7d
#pragma once
#include "itl/block_diagonal.hpp"
#include <dune/amdis/CreatorMap.hpp>
#include <dune/amdis/linear_algebra/mtl/ITL_Preconditioner.hpp>
#include "itl/block_diagonal.hpp"
namespace AMDiS
{
......
......@@ -68,9 +68,11 @@ namespace AMDiS
auto gcr = new SolverCreator<gcr_type>;
Map::addCreator("gcr", gcr);
#ifdef HAVE_UMFPACK
auto umfpack = new UmfpackSolverCreator;
Map::addCreator("umfpack", umfpack);
Map::addCreator("direct", umfpack);
#endif
Map::addCreator("default", gmres);
}
......
......@@ -460,9 +460,11 @@ namespace AMDiS
auto preonly = new SolverCreator<preonly_type>;
Map::addCreator("preonly", preonly);
#ifdef HAVE_UMFPACK
auto umfpack = new UmfpackSolverCreator;
Map::addCreator("umfpack", umfpack);
Map::addCreator("direct", umfpack);
#endif
Map::addCreator("default", gmres);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment