]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
New ExcNegativeMeasure
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 5 Jul 2005 17:16:22 +0000 (17:16 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 5 Jul 2005 17:16:22 +0000 (17:16 +0000)
git-svn-id: https://svn.dealii.org/trunk@11057 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/grid/tria_accessor.h

index 735cc2276d01d5d2240466e4a8c27da572aa68f0..d3e877ab5dd034d8f4b522765ee5e987e688d611 100644 (file)
@@ -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:

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.