From: Magdalena Schreter Date: Mon, 11 Jan 2021 11:01:33 +0000 (+0100) Subject: add assert for unsupported p::d::T in the simplex grid generators X-Git-Tag: v9.3.0-rc1~652^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3491675238388604fe44e4cdd23754b9232a2ff9;p=dealii.git add assert for unsupported p::d::T in the simplex grid generators assert is moved to distributed/tria.cc --- 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)