]> https://gitweb.dealii.org/ - dealii.git/commit
Added warning for unsuccessful case in GridTools::collect_periodic_faces 3649/head
authorJean-Paul Pelteret <jppelteret@gmail.com>
Wed, 30 Nov 2016 16:10:14 +0000 (17:10 +0100)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Wed, 30 Nov 2016 16:50:07 +0000 (17:50 +0100)
commited1e2375668ea34f6a22dca3247c5152f77f192d
treedac74305d2c1e5dadfc5955d50811cf839ea83f7
parent36fa7a3b3457ad4f9f17ce93c3630cd07fead57c
Added warning for unsuccessful case in GridTools::collect_periodic_faces

A note and assert has been added to provide a warning for the case where
collect_periodic_faces doesn't find any matched faces. This may happen
if there is no colouring on the coarsest level mesh (i.e. grid
refinement before boundary id definition) or where they've accidentally
called the function with the wrong boundary id's (or direction?).

Fixes #3280
include/deal.II/grid/grid_tools.h
source/grid/grid_tools.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.