]> https://gitweb.dealii.org/ - dealii.git/commit
If the size of a linear system is small, i.e. when the mesh is very
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 6 Apr 2011 16:03:38 +0000 (16:03 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 6 Apr 2011 16:03:38 +0000 (16:03 +0000)
commit90dd13bda0349530bfc90c43ae7f0a5e3214b17f
tree4634c42ab74ef8d361152866cb0d41a7bc70122c
parent4ad6ae6a34b7795f1c1663112190a255a82cc487
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.