From 70fd88e6a37307f2b1c07084c9e6b94441ca4ccf Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 13 Aug 2012 15:50:49 +0000 Subject: [PATCH] Avoid a few warnings. 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 | 9 +++++++-- deal.II/source/hp/dof_handler.cc | 23 ++++++++++++----------- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/deal.II/include/deal.II/hp/dof_handler.h b/deal.II/include/deal.II/hp/dof_handler.h index 84648eea00..73241b2861 100644 --- a/deal.II/include/deal.II/hp/dof_handler.h +++ b/deal.II/include/deal.II/hp/dof_handler.h @@ -1403,14 +1403,19 @@ namespace hp template inline - unsigned int DoFHandler::MGVertexDoFs::get_index (const unsigned int level, const unsigned int dof_number) const { + unsigned int DoFHandler::MGVertexDoFs::get_index (const unsigned int, + const unsigned int) const + { Assert (false, ExcNotImplemented ()); return invalid_dof_index; } template inline - void DoFHandler::MGVertexDoFs::set_index (const unsigned int level, const unsigned int dof_number, const unsigned int index) { + void DoFHandler::MGVertexDoFs::set_index (const unsigned int, + const unsigned int, + const unsigned int) + { Assert (false, ExcNotImplemented ()); } diff --git a/deal.II/source/hp/dof_handler.cc b/deal.II/source/hp/dof_handler.cc index 6d1c147187..3900f95794 100644 --- a/deal.II/source/hp/dof_handler.cc +++ b/deal.II/source/hp/dof_handler.cc @@ -4145,25 +4145,26 @@ template <> template template unsigned int - DoFHandler::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::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 template void - DoFHandler::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::set_dof_index (const unsigned int, + const unsigned int, + const unsigned int, + const unsigned int, + const unsigned int) const { - + Assert (false, ExcNotImplemented()); } -- 2.39.5