From a762fe348f2fac66357a5599d6ec0ade3cd533f9 Mon Sep 17 00:00:00 2001 From: hartmann Date: Tue, 5 Jul 2005 17:16:22 +0000 Subject: [PATCH] New ExcNegativeMeasure git-svn-id: https://svn.dealii.org/trunk@11057 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/grid/tria_accessor.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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: -- 2.39.5