]> https://gitweb.dealii.org/ - dealii.git/commitdiff
add assert
authorTimo Heister <timo.heister@gmail.com>
Sat, 12 Aug 2017 21:59:16 +0000 (15:59 -0600)
committerTimo Heister <timo.heister@gmail.com>
Sat, 12 Aug 2017 21:59:16 +0000 (15:59 -0600)
source/distributed/tria_base.cc

index 59a50da15c263b6707535050540557cb9cbbafe1..6d1619cfa16d4d589bbdb698fd6275f901dc2ae5 100644 (file)
@@ -259,6 +259,14 @@ namespace parallel
   Triangulation<dim,spacedim>::
   compute_vertices_with_ghost_neighbors () const
   {
+    // TODO: we are not treating periodic neighbors correctly here. If we do
+    // we can remove the overriding implementation for p::d::Triangulation
+    // that is currently using a p4est callback to get correct ghost neighbors
+    // over periodic faces.
+    Assert(this->periodic_face_pairs_level_0.size()==0,
+           ExcNotImplemented());
+
+
     std::vector<bool> vertex_of_own_cell(this->n_vertices(), false);
 
     for (auto cell : this->active_cell_iterators())

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.