From b321d2f1815d964286911395ee491ea1060b09c4 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Sun, 4 Oct 2015 17:03:26 -0400 Subject: [PATCH] cleanup --- include/deal.II/multigrid/mg_constrained_dofs.h | 2 +- include/deal.II/multigrid/mg_transfer.templates.h | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/include/deal.II/multigrid/mg_constrained_dofs.h b/include/deal.II/multigrid/mg_constrained_dofs.h index 982201a598..e05b24599a 100644 --- a/include/deal.II/multigrid/mg_constrained_dofs.h +++ b/include/deal.II/multigrid/mg_constrained_dofs.h @@ -134,7 +134,7 @@ public: */ bool set_boundary_values () const DEAL_II_DEPRECATED; -//private: +private: /** * The indices of boundary dofs for each level. diff --git a/include/deal.II/multigrid/mg_transfer.templates.h b/include/deal.II/multigrid/mg_transfer.templates.h index 57fc78eba6..11d5884aa1 100644 --- a/include/deal.II/multigrid/mg_transfer.templates.h +++ b/include/deal.II/multigrid/mg_transfer.templates.h @@ -186,8 +186,6 @@ MGTransferPrebuilt::copy_to_mg ( #ifdef DEBUG_OUTPUT MPI_Barrier(MPI_COMM_WORLD); - int myid=-1; - MPI_Comm_rank (MPI_COMM_WORLD, &myid); #endif typedef std::vector >::const_iterator IT; @@ -206,7 +204,6 @@ MGTransferPrebuilt::copy_to_mg ( #endif if (!first) { - //if (level<2) restrict_and_add (level+1, dst[level], dst[level+1]); #ifdef DEBUG_OUTPUT std::cout << "copy_to_mg restr&add " << level << " " << dst_level.l2_norm() << std::endl; @@ -227,10 +224,6 @@ MGTransferPrebuilt::copy_from_mg( OutVector &dst, const MGLevelObject &src) const { -#ifdef DEBUG_OUTPUT - int myid=-1; - MPI_Comm_rank (MPI_COMM_WORLD, &myid); -#endif // For non-DG: degrees of // freedom in the refinement // face may need special -- 2.39.5