From: Timo Heister Date: Fri, 15 Jan 2021 16:34:45 +0000 (-0500) Subject: improve Simplex:QGauss error message X-Git-Tag: v9.3.0-rc1~614^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf1632ca481fdafa01f1e35d48bc4ee0afe1b934;p=dealii.git improve Simplex:QGauss error message --- diff --git a/source/simplex/quadrature_lib.cc b/source/simplex/quadrature_lib.cc index 5d3ea4df22..2bb93a055f 100644 --- a/source/simplex/quadrature_lib.cc +++ b/source/simplex/quadrature_lib.cc @@ -140,7 +140,11 @@ namespace Simplex AssertDimension(this->quadrature_points.size(), this->weights.size()); Assert(this->quadrature_points.size() > 0, - ExcMessage("No valid quadrature points!")); + ExcNotImplemented( + "Simplex::QGauss is currently only implemented for " + "n_points_1D = 1, 2, and 3, while you are asking for " + "n_points_1D = " + + Utilities::to_string(n_points_1D))); }