]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Avoid a few warnings.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 13 Aug 2012 15:50:49 +0000 (15:50 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 13 Aug 2012 15:50:49 +0000 (15:50 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_merge_mg_into_dof_handler@25954 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/hp/dof_handler.h
deal.II/source/hp/dof_handler.cc

index 84648eea00796b670a681de4d19ec1e76c69c34e..73241b2861e48fe3ef6fae44d685a28d3bf84a07 100644 (file)
@@ -1403,14 +1403,19 @@ namespace hp
 
   template<int dim, int spacedim>
   inline
-  unsigned int DoFHandler<dim, spacedim>::MGVertexDoFs::get_index (const unsigned int level, const unsigned int dof_number) const {
+  unsigned int DoFHandler<dim, spacedim>::MGVertexDoFs::get_index (const unsigned int,
+                                                                  const unsigned int) const
+  {
     Assert (false, ExcNotImplemented ());
     return invalid_dof_index;
   }
   
   template<int dim, int spacedim>
   inline
-  void DoFHandler<dim, spacedim>::MGVertexDoFs::set_index (const unsigned int level, const unsigned int dof_number, const unsigned int index) {
+  void DoFHandler<dim, spacedim>::MGVertexDoFs::set_index (const unsigned int,
+                                                          const unsigned int,
+                                                          const unsigned int)
+  {
     Assert (false, ExcNotImplemented ());
   }
 
index 6d1c147187aa4a1212b413b85190d32ebf87c2fb..3900f957940d2b9ea776b999cbbbee440277f6c8 100644 (file)
@@ -4145,25 +4145,26 @@ template <>
   template <int dim, int spacedim>
   template <int structdim>
   unsigned int
-  DoFHandler<dim,spacedim>::get_dof_index (const unsigned int       obj_level,
-                                           const unsigned int       obj_index,
-                                           const unsigned int       fe_index,
-                                           const unsigned int       local_index) const
+  DoFHandler<dim,spacedim>::get_dof_index (const unsigned int,
+                                           const unsigned int,
+                                           const unsigned int,
+                                           const unsigned int) const
   {
-    
+    Assert (false, ExcNotImplemented());
+    return numbers::invalid_unsigned_int;
   }
 
 
   template <int dim, int spacedim>
   template <int structdim>
   void
-  DoFHandler<dim,spacedim>::set_dof_index (const unsigned int obj_level,
-                                           const unsigned int obj_index,
-                                           const unsigned int fe_index,
-                                           const unsigned int local_index,
-                                           const unsigned int global_index) const
+  DoFHandler<dim,spacedim>::set_dof_index (const unsigned int,
+                                           const unsigned int,
+                                           const unsigned int,
+                                           const unsigned int,
+                                           const unsigned int) const
   {
-    
+    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.