-
Notifications
You must be signed in to change notification settings - Fork 707
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16745 from kronbichler/gmres_cleanup
Cleanup of SolverGMRES and SolverFGMRES implementations
- Loading branch information
Showing
28 changed files
with
432 additions
and
413 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Changed: SolverGMRES::AdditionalData now controls the size of the Arnoldi | ||
basis through the new member variable | ||
SolverGMRES::AdditionalData::max_basis_size, rather than the number of | ||
temporary vectors (which is the basis size plus 2). As a result, the default | ||
value of the basis size is now 30, compared to 28 used before. The old | ||
variable SolverGMRES::AdditionalData::max_n_tmp_vectors is still available, | ||
but whenever SolverGMRES::AdditionalData::max_basis_size is set to a non-zero | ||
value (including the value set by the default constructor), the latter takes | ||
precedence. | ||
<br> | ||
(Martin Kronbichler, 2024/04/12) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Improved: The implementations of SolverGMRES and SolverFGMRES have been | ||
overhauled and made more similar. In particular, SolverFGMRES now uses the | ||
same internal algorithm to solve the minimization problem in the Arnoldi | ||
basis, employing Givens rotations in analogy to the setting used by | ||
SolverGMRES. Since the Arnoldi process is sensitive to roundoff errors, this | ||
change might slightly affect iteration counts (often giving slightly better | ||
results). | ||
<br> | ||
(Martin Kronbichler, 2024/04/12) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.