From 66c0212db8375632a4f36291bd9613a70775ca75 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Sat, 12 Aug 2017 15:59:16 -0600 Subject: [PATCH] add assert --- source/distributed/tria_base.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/distributed/tria_base.cc b/source/distributed/tria_base.cc index 59a50da15c..6d1619cfa1 100644 --- a/source/distributed/tria_base.cc +++ b/source/distributed/tria_base.cc @@ -259,6 +259,14 @@ namespace parallel Triangulation:: 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 vertex_of_own_cell(this->n_vertices(), false); for (auto cell : this->active_cell_iterators()) -- 2.39.5