From: Timo Heister Date: Sat, 12 Aug 2017 21:59:16 +0000 (-0600) Subject: add assert X-Git-Tag: v9.0.0-rc1~1286^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66c0212db8375632a4f36291bd9613a70775ca75;p=dealii.git add assert --- 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())