[bugfix] This fixes an issue when UMFPack is found and AMG with field type float is used.
The selection of UMFPack as a direct solver does not only depend on UMFPack being found, but also whether the field type is double or complex. Otherwise UMFPack cannot be used as a coarse solver in AMG. This PR fixes this issue.
@markus.blatt: Please take a look at this. @smuething: Please take a look at this.
Merge request reports
Activity
Added 1 commit:
- d2ed3e53 - [bugfix] avoid ambiguity by using std::abs directly etc. instead of using std::abs.
I could imagine one of the ambiguous functions being in or included by the umfpack headers. Am I right? Which version is that?
Edited by Markus BlattMilestone changed to %DUNE 2.5.0
Added 45 commits:
-
1e2f4fdc...e50c4952 - 44 commits from branch
master
- 2b7a6043 - [bugfix] This fixes an issue when UMFPack is found and AMG with field type float
-
1e2f4fdc...e50c4952 - 44 commits from branch
From the code and privately confirmed by @robert.kloefkorn, this patch disables UMFPack when using AMG with field_type float. Looks good to me and the tests have passed.
@dominic Would you mind having a look, too and merging if you think it is OK.
@dominic: Once you merged please also create the backport MR for 2.5. Thanks.
Mentioned in commit 1eafb167
Mentioned in commit a313ac63
Mentioned in merge request !74 (merged)
Mentioned in commit 2dfd9a54