From: wolf
+ Step 3 +
+Back to the tutorial index diff --git a/deal.II/doc/tutorial/chapter-2.step-by-step/step-3.data/solution-1.jpg b/deal.II/doc/tutorial/chapter-2.step-by-step/step-3.data/solution-1.jpg new file mode 100644 index 0000000000..1b44a311f4 Binary files /dev/null and b/deal.II/doc/tutorial/chapter-2.step-by-step/step-3.data/solution-1.jpg differ diff --git a/deal.II/doc/tutorial/chapter-2.step-by-step/step-3.data/solution-2.jpg b/deal.II/doc/tutorial/chapter-2.step-by-step/step-3.data/solution-2.jpg new file mode 100644 index 0000000000..15f44e3bf4 Binary files /dev/null and b/deal.II/doc/tutorial/chapter-2.step-by-step/step-3.data/solution-2.jpg differ diff --git a/deal.II/doc/tutorial/chapter-2.step-by-step/step-3.intro b/deal.II/doc/tutorial/chapter-2.step-by-step/step-3.intro new file mode 100644 index 0000000000..e8f16db009 --- /dev/null +++ b/deal.II/doc/tutorial/chapter-2.step-by-step/step-3.intro @@ -0,0 +1,14 @@ + +
+
+Number of active cells: 1024
+Total number of cells: 1365
+Number of degrees of freedom: 1089
+DEAL:cg::Starting value 0.121094
+DEAL:cg::Starting value 0.323075
+DEAL:cg::Convergence step 47 value 5.33692e-13
+
+
+
+The first three lines is what we wrote to cout
. The last
+three lines were generated without our interaction by the CG
+solver. The first two lines state the residual at the start of the
+iteration, while the last line tells us that the solver needed 47
+iterations to bring the norm of the residual to 5.3e-13, i.e. below
+the threshold 1e-12 which we have set in the `solve' function. We will
+show in the next program how to suppress this output, which is
+sometimes useful for debugging purposes, but often clutters up the
+screen display.
+
+
+
+Apart from the output shown above, the program generated the file
+solution.gpl
, which is in GNUPLOT format. It can be
+viewed as follows: invoke GNUPLOT and enter the following sequence of
+commands at its prompt:
+
+
+gnuplot> set data style lines
+gnuplot> splot "solution.gpl"
+
+
+This produces the picture of the solution below left. Alternatively,
+you can order GNUPLOT to do some hidden line removal by the command
+
+
+gnuplot> set hidden3d
+
+
+to get the result at the right:
++
+ + | ++ + | +
diff --git a/deal.II/doc/tutorial/chapter-2.step-by-step/toc.html b/deal.II/doc/tutorial/chapter-2.step-by-step/toc.html index df36f194b5..1e16ec2e09 100644 --- a/deal.II/doc/tutorial/chapter-2.step-by-step/toc.html +++ b/deal.II/doc/tutorial/chapter-2.step-by-step/toc.html @@ -40,17 +40,23 @@ At present, the following programs exist: