From 3491675238388604fe44e4cdd23754b9232a2ff9 Mon Sep 17 00:00:00 2001 From: Magdalena Schreter Date: Mon, 11 Jan 2021 12:01:33 +0100 Subject: [PATCH] add assert for unsupported p::d::T in the simplex grid generators assert is moved to distributed/tria.cc --- source/distributed/tria.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/distributed/tria.cc b/source/distributed/tria.cc index 383bab745a..e22387cbe1 100644 --- a/source/distributed/tria.cc +++ b/source/distributed/tria.cc @@ -2179,6 +2179,12 @@ namespace parallel Assert(false, ExcInternalError()); } + Assert( + this->all_reference_cell_types_are_hyper_cube(), + ExcMessage( + "The class parallel::distributed::Triangulation only supports meshes " + "consisting only of hypercube-like cells.")); + // note that now we have some content in the p4est objects and call the // functions that do the actual work (which are dimension dependent, so // separate) -- 2.39.5