From: Simon Sticko Date: Sat, 11 Jul 2015 18:21:54 +0000 (+0200) Subject: Add sorting to eigenvalues in SolverGMRES X-Git-Tag: v8.3.0-rc1~19^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1121%2Fhead;p=dealii.git Add sorting to eigenvalues in SolverGMRES The eigenvalues output through the eigenvalues signals was not sorted previously. Add sorting according to internal::SolverGMRES::complex_less_pred. --- diff --git a/include/deal.II/lac/solver_gmres.h b/include/deal.II/lac/solver_gmres.h index e7fe89d9df..b1410a4dd1 100644 --- a/include/deal.II/lac/solver_gmres.h +++ b/include/deal.II/lac/solver_gmres.h @@ -714,12 +714,12 @@ SolverGMRES::compute_eigs_and_cond( std::vector > eigenvalues(dim); for (unsigned int i=0; i