]> https://gitweb.dealii.org/ - dealii.git/commit
Fix a sign error in step-25.
authorDavid Wells <wellsd2@rpi.edu>
Sat, 25 Jun 2016 21:31:35 +0000 (17:31 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 25 Jun 2016 23:40:53 +0000 (19:40 -0400)
commit5fccd87dce8ba75ed5226a2a9d69bf81ba1c8544
treebe88c923a3d12b2ee6f25db479f6e3aa9340e790
parent660ce0e047c352265b1dd29417ffe52fd1ad353c
Fix a sign error in step-25.

Credit for this fix belongs to Anup Basak, who mentioned it on the
mailing list in March 2016.

Even with the sign error the Newton solver converged to the right
solution: changing the sign only altered the solution in the fifth
decimal place.

The fixed version now only requires three, instead of four, Newton steps
in 2D.
examples/step-25/step-25.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.