]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid warnings about unused variables. 2461/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 4 Apr 2016 21:18:50 +0000 (16:18 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 4 Apr 2016 21:18:50 +0000 (16:18 -0500)
include/deal.II/multigrid/mg_transfer.templates.h

index 4d285809d00a45da9c80500c0e2e25b422958b32..ead4d5e5961b382f357f40fabbf510ece4f23e65 100644 (file)
@@ -273,6 +273,7 @@ MGLevelGlobalTransfer<VectorType>::copy_from_mg
  OutVector                       &dst,
  const MGLevelObject<VectorType> &src) const
 {
+  (void)mg_dof_handler;
   AssertIndexRange(src.max_level(), mg_dof_handler.get_triangulation().n_global_levels());
   AssertIndexRange(src.min_level(), src.max_level()+1);
   if (perform_plain_copy)
@@ -329,7 +330,7 @@ template <typename VectorType>
 template <int dim, class OutVector, int spacedim>
 void
 MGLevelGlobalTransfer<VectorType>::copy_from_mg_add
-(const DoFHandler<dim,spacedim>  &mg_dof_handler,
+(const DoFHandler<dim,spacedim>  &/*mg_dof_handler*/,
  OutVector                       &dst,
  const MGLevelObject<VectorType> &src) const
 {
@@ -448,6 +449,7 @@ MGLevelGlobalTransfer<parallel::distributed::Vector<Number> >::copy_from_mg
  parallel::distributed::Vector<Number2>                      &dst,
  const MGLevelObject<parallel::distributed::Vector<Number> > &src) const
 {
+  (void)mg_dof_handler;
   AssertIndexRange(src.max_level(), mg_dof_handler.get_triangulation().n_global_levels());
   AssertIndexRange(src.min_level(), src.max_level()+1);
   if (perform_plain_copy)
@@ -504,7 +506,7 @@ template <typename Number>
 template <int dim, typename Number2, int spacedim>
 void
 MGLevelGlobalTransfer<parallel::distributed::Vector<Number> >::copy_from_mg_add
-(const DoFHandler<dim,spacedim>                              &mg_dof_handler,
+(const DoFHandler<dim,spacedim>                              &/*mg_dof_handler*/,
  parallel::distributed::Vector<Number2>                      &dst,
  const MGLevelObject<parallel::distributed::Vector<Number> > &src) const
 {

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.