]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fixed bug in add_periodicity. There were errors when the mesh is not immediately...
authordaniel.arndt <daniel.arndt@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 24 Sep 2013 14:37:29 +0000 (14:37 +0000)
committerdaniel.arndt <daniel.arndt@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 24 Sep 2013 14:37:29 +0000 (14:37 +0000)
git-svn-id: https://svn.dealii.org/trunk@30914 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/distributed/tria.cc

index 60f62492495516886c0011beec0f5d2fa8019ca2..5b0caa979f73fc30374920e6ad0f3ac390345da8 100644 (file)
@@ -3511,6 +3511,18 @@ namespace parallel
                        /* user_data_size = */ 0,
                        /* user_data_constructor = */ NULL,
                        /* user_pointer */ this);
+
+
+      try
+      {
+        copy_local_forest_to_triangulation ();
+      }
+      catch (const typename Triangulation<dim>::DistortedCellList &)
+      {
+        // the underlying triangulation should not be checking for distorted
+        // cells
+        AssertThrow (false, ExcInternalError());
+      }
       
       #else
       Assert(false, ExcMessage ("Need p4est version >= 0.3.4.1!"));

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.