]> https://gitweb.dealii.org/ - dealii.git/commit
Raise exceptions for invalid input.
authorDavid Wells <wellsd2@rpi.edu>
Mon, 9 May 2016 01:20:14 +0000 (21:20 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 14 May 2016 19:39:40 +0000 (15:39 -0400)
commit1c209aff4467e191f2fed9985a64cde2eb59cb21
treea7102fb8fcf2a395f33e3b37e651c12252c1c6ca
parent08d2015b6eee4999fb4bfd5de7869a42674601a6
Raise exceptions for invalid input.

subdivided_parallelepiped could generate cells with negative volume if
the provided edges were not ordered correctly. Try to help the user by
raising an exception if this is the case in subdivided_parallelepiped
instead of create_triangulation.

This commit also fixes tests that would fail as a result of removing the
orientation fix.

Partly reverts ccb56e7fb5.
include/deal.II/grid/grid_generator.h
source/grid/grid_generator.cc
tests/grid/grid_parallelepiped.cc
tests/grid/grid_parallelepiped_01.cc
tests/grid/grid_parallelepiped_02.cc
tests/grid/grid_parallelepiped_03.cc
tests/grid/grid_parallelepiped_05.cc
tests/grid/grid_parallelepiped_05.output

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.