Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
430eb25a
Commit
430eb25a
authored
May 07, 2016
by
Praetorius, Simon
Browse files
hide UmfpackRunner, if umfpack is not available
parent
5d5e8c7d
Changes
3
Hide whitespace changes
Inline
Side-by-side
dune/amdis/linear_algebra/mtl/BITL_Preconditioner.hpp
View file @
430eb25a
#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
{
...
...
dune/amdis/linear_algebra/mtl/BITL_Solver.hpp
View file @
430eb25a
...
...
@@ -67,10 +67,12 @@ 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
);
}
...
...
dune/amdis/linear_algebra/mtl/ITL_Solver.hpp
View file @
430eb25a
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment