]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix test output. 1834/head
authorRene Gassmoeller <R.Gassmoeller@mailbox.org>
Thu, 5 Nov 2015 03:54:27 +0000 (21:54 -0600)
committerRene Gassmoeller <R.Gassmoeller@mailbox.org>
Thu, 5 Nov 2015 03:54:27 +0000 (21:54 -0600)
Allow calling repartition() even when no_automatic_refinement flag is not set

source/distributed/tria.cc

index c652254f57be5e060c17ca1f2c61d7a0cc2e1f83..c05b7dd64c5d8f460cd425b7af9a0b53f03bc04a 100644 (file)
@@ -3634,10 +3634,6 @@ namespace parallel
     void
     Triangulation<dim,spacedim>::repartition ()
     {
-      AssertThrow(settings & no_automatic_repartitioning,
-                  ExcMessage("You need to set the 'no_automatic_repartitioning' flag in the "
-                             "constructor when creating this parallel::distributed::Triangulation "
-                             "object if you want to call repartition() manually."));
 
 #ifdef DEBUG
       for (typename Triangulation<dim,spacedim>::active_cell_iterator

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.