]> https://gitweb.dealii.org/ - dealii.git/commit
Terminate a loop in a timely manner. 515/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 11 Feb 2015 13:49:21 +0000 (07:49 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 11 Feb 2015 13:50:45 +0000 (07:50 -0600)
commit245fa70c71102179fb57c9ab86412d73181c73cb
treea4d93bd7bf0e40063221e85e4e5fa3282e0eab26
parent1b85d9c7732e7aedfac1c0ad0c1a83071f264e43
Terminate a loop in a timely manner.

In StraightBoundary::normal_vector(), we currently have a loop that could run
forever. This is not useful. Rather, terminate it after at most 10 iterations
and if it fails output some guidance to what the reason may be.
source/grid/tria_boundary.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.