]> https://gitweb.dealii.org/ - dealii-svn.git/commit
If the size of a linear system is small, i.e. when the mesh is very
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 6 Apr 2011 16:03:38 +0000 (16:03 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 6 Apr 2011 16:03:38 +0000 (16:03 +0000)
commit851c766aa284012edaf6747160bc794f0fb7f11b
treec68b85db937f6f2b4d26c0d9d5be01003af732d4
parentb88cfc3336508567287bbd079410a4270d326959
If the size of a linear system is small, i.e. when the mesh is very
coarse, then it is sometimes not sufficient to set a maximum of
<code>src.size()</code> CG iterations before the solver in the
<code>vmult()</code> function converges. (This is, of course, a result
of numerical round-off, since we know that on paper, the CG method
converges in at most <code>src.size()</code> steps.) As a consequence,
we set the maximum number of iterations equal to the maximum of the
size of the linear system and 200.

git-svn-id: https://svn.dealii.org/trunk@23562 0785d39b-7218-0410-832d-ea1e28bc413d
deal.II/examples/step-21/step-21.cc

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.