]> https://gitweb.dealii.org/ - dealii.git/commitdiff
step-27: Lower the linear solver tolerance. 7371/head
authorDavid Wells <drwells@email.unc.edu>
Tue, 23 Oct 2018 02:15:01 +0000 (22:15 -0400)
committerDavid Wells <drwells@email.unc.edu>
Tue, 23 Oct 2018 12:17:11 +0000 (08:17 -0400)
This makes the pictures symmetric.

examples/step-27/step-27.cc

index 6f9934284f5c9ca75b5818ef06cf641f5ed0fb10..1f87b2e4fe902291361a01b1ae7fc4c9968bff67 100644 (file)
@@ -379,7 +379,7 @@ namespace Step27
   void LaplaceProblem<dim>::solve()
   {
     SolverControl solver_control(system_rhs.size(),
-                                 1e-8 * system_rhs.l2_norm());
+                                 1e-12 * system_rhs.l2_norm());
     SolverCG<>    cg(solver_control);
 
     PreconditionSSOR<> preconditioner;

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.