]> https://gitweb.dealii.org/ - dealii.git/commitdiff
exchange richardson.h with gmres.h and adapt documentation
authorNils Schween <nils.schween@mpi-hd.mpg.de>
Thu, 28 Sep 2023 13:45:07 +0000 (15:45 +0200)
committerNils Schween <nils.schween@mpi-hd.mpg.de>
Thu, 28 Sep 2023 13:47:35 +0000 (15:47 +0200)
examples/step-12/step-12.cc

index fede6118756c2900b5750a941854efd82e165abe..453284723cc8e287ebc6e26c00e7e40a07001007 100644 (file)
 // This header is needed for FEInterfaceValues to compute integrals on
 // interfaces:
 #include <deal.II/fe/fe_interface_values.h>
-// We are going to use the simplest possible solver, called Richardson
-// iteration, that represents a simple defect correction. This, in combination
-// with a block SSOR preconditioner (defined in precondition_block.h), that
-// uses the special block matrix structure of system matrices arising from DG
-// discretizations.
-#include <deal.II/lac/solver_richardson.h>
+// We are going to use a standard solver, called Generalized minimal residual
+// method (GMRES). It is a iterative solver which is applicable to arbitrary
+// invertible matrices. This, in combination with a block SSOR preconditioner
+// (defined in precondition_block.h), that uses the special block matrix
+// structure of system matrices arising from DG discretizations.
+#include <deal.II/lac/solver_gmres.h>
 #include <deal.II/lac/precondition_block.h>
 // We are going to use gradients as refinement indicator.
 #include <deal.II/numerics/derivative_approximation.h>

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.