From: wolf Date: Thu, 18 Nov 1999 17:20:48 +0000 (+0000) Subject: Doc update. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9465e3093f1680b0f05e81ad2dde50367cb69be;p=dealii-svn.git Doc update. git-svn-id: https://svn.dealii.org/trunk@1890 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/multigrid/multigrid.templates.h b/deal.II/deal.II/include/multigrid/multigrid.templates.h index 79c42344c0..7caabae233 100644 --- a/deal.II/deal.II/include/multigrid/multigrid.templates.h +++ b/deal.II/deal.II/include/multigrid/multigrid.templates.h @@ -35,7 +35,9 @@ MG::copy_to_mg(const Vector& src) { const unsigned int fe_dofs = dofs->get_fe().total_dofs; const unsigned int face_dofs = dofs->get_fe().dofs_per_face; - + + // set the elements of the vectors + // on all levels to zero d.clear(); // hanging_nodes.condense(src); @@ -51,7 +53,7 @@ MG::copy_to_mg(const Vector& src) // out.write_gnuplot(of,1); // } - for (int level = maxlevel ; level >= (int) minlevel ; --level) + for (int level = maxlevel; level >= static_cast(minlevel); --level) { DoFHandler::active_cell_iterator dc = dofs->DoFHandler::begin_active(level); MGDoFHandler::active_cell_iterator c = dofs->begin_active(level); diff --git a/deal.II/deal.II/include/numerics/multigrid.templates.h b/deal.II/deal.II/include/numerics/multigrid.templates.h index 79c42344c0..7caabae233 100644 --- a/deal.II/deal.II/include/numerics/multigrid.templates.h +++ b/deal.II/deal.II/include/numerics/multigrid.templates.h @@ -35,7 +35,9 @@ MG::copy_to_mg(const Vector& src) { const unsigned int fe_dofs = dofs->get_fe().total_dofs; const unsigned int face_dofs = dofs->get_fe().dofs_per_face; - + + // set the elements of the vectors + // on all levels to zero d.clear(); // hanging_nodes.condense(src); @@ -51,7 +53,7 @@ MG::copy_to_mg(const Vector& src) // out.write_gnuplot(of,1); // } - for (int level = maxlevel ; level >= (int) minlevel ; --level) + for (int level = maxlevel; level >= static_cast(minlevel); --level) { DoFHandler::active_cell_iterator dc = dofs->DoFHandler::begin_active(level); MGDoFHandler::active_cell_iterator c = dofs->begin_active(level);