From: hartmann Date: Tue, 5 Jul 2005 17:16:22 +0000 (+0000) Subject: New ExcNegativeMeasure X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a762fe348f2fac66357a5599d6ec0ade3cd533f9;p=dealii-svn.git New ExcNegativeMeasure git-svn-id: https://svn.dealii.org/trunk@11057 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/grid/tria_accessor.h b/deal.II/deal.II/include/grid/tria_accessor.h index 735cc2276d..d3e877ab5d 100644 --- a/deal.II/deal.II/include/grid/tria_accessor.h +++ b/deal.II/deal.II/include/grid/tria_accessor.h @@ -275,6 +275,22 @@ class TriaAccessor * Exception */ DeclException0 (ExcNeighborIsNotCoarser); + /** + * If this exception is thrown, + * the cell has negative + * volume. Make sure the grid + * (which most likely has been + * read in by GridIn) has no + * negative volumes. For the case + * all cells of the mesh are + * (consistently) negative, and + * one really wants to compute on + * it (which in fact could work), + * one can comment out this + * exception in tria_accessor.cc. + */ + DeclException0 (ExcNegativeMeasure); + /*@}*/ protected: