]> https://gitweb.dealii.org/ - dealii.git/commitdiff
In switch(dim) clauses where only dim=2 and dim=3 are tested, add a
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 14 Aug 2010 02:50:53 +0000 (02:50 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 14 Aug 2010 02:50:53 +0000 (02:50 +0000)
default clause that throws an exception.

git-svn-id: https://svn.dealii.org/trunk@21655 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/numerics/vectors.templates.h

index 6b1504ac559a67c7e06afad873989f2a4f4e01e1..033ff60afa5e110de8652762f6c8282adceab79a 100644 (file)
@@ -2960,6 +2960,7 @@ namespace internals
       const unsigned int degree = superdegree - 1;
       Point<dim> shifted_reference_point_1;
       Point<dim> shifted_reference_point_2;
+
       unsigned int edge_coordinate_direction[4];
 
                                       // Get coordinate directions of
@@ -3851,6 +3852,9 @@ project_boundary_values_curl_conforming (const DoFHandler<dim>& dof_handler,
              constraints.set_inhomogeneity (dof, computed_constraints[dof]);
            }
       }
+
+      default:
+           Assert (false, ExcNotImplemented());
     }
 }
 
@@ -4045,6 +4049,9 @@ project_boundary_values_curl_conforming (const hp::DoFHandler<dim>& dof_handler,
                                             computed_constraints[dof]);
            }
       }
+
+      default:
+           Assert (false, ExcNotImplemented());
     }
 }
 

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.