From: Nils Schween Date: Fri, 29 Sep 2023 08:54:08 +0000 (+0200) Subject: Apply the first batch of suggestions X-Git-Tag: relicensing~404^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47e3679c4b42ee5dbe3253556678687c015f20ea;p=dealii.git Apply the first batch of suggestions Co-authored-by: Wolfgang Bangerth --- diff --git a/examples/step-12/step-12.cc b/examples/step-12/step-12.cc index f7662a6cc6..7756bc5e24 100644 --- a/examples/step-12/step-12.cc +++ b/examples/step-12/step-12.cc @@ -46,7 +46,7 @@ // interfaces: #include // We are going to use a standard solver, called Generalized minimal residual -// method (GMRES). It is a iterative solver which is applicable to arbitrary +// method (GMRES). It is an 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. @@ -459,7 +459,7 @@ namespace Step12 // @sect3{All the rest} // // For this simple problem we use a standard iterative solver, called GMRES, - // that creates approximate solutions minimising the residual in each + // that creates approximate solutions minimizing the residual in each // iterations by adding a new basis vector to the Krylov subspace. This, in // combination with a block SSOR preconditioner, that uses the special block // matrix structure of system matrices arising from DG discretizations. The @@ -476,7 +476,7 @@ namespace Step12 // maximum number of basis vectors of the Krylov subspace. When this number // is reached the GMRES algorithm is restarted using the solution of the // previous iteration as the starting approximation. The choice of the - // number of basis vectors is a trade- off between memory consumption and + // number of basis vectors is a trade-off between memory consumption and // convergence speed, since a longer basis means minimization over a larger // space. SolverGMRES>::AdditionalData additional_data;