From 23aef5b58bc6d476fc935ac83022e073fc2bcd64 Mon Sep 17 00:00:00 2001 From: hartmann Date: Wed, 19 May 2004 09:41:47 +0000 Subject: [PATCH] Use of new MGLevelObject::operator = function. git-svn-id: https://svn.dealii.org/trunk@9268 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/multigrid/mg_transfer.templates.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/deal.II/include/multigrid/mg_transfer.templates.h b/deal.II/deal.II/include/multigrid/mg_transfer.templates.h index ce42ffd8e1..54e53b23c3 100644 --- a/deal.II/deal.II/include/multigrid/mg_transfer.templates.h +++ b/deal.II/deal.II/include/multigrid/mg_transfer.templates.h @@ -350,7 +350,7 @@ MGTransferSelect::do_copy_to_mg ( unsigned int minlevel = dst.get_minlevel(); unsigned int maxlevel = dst.get_maxlevel(); - dst.clear(); + dst=0; Assert(sizes.size()==mg_dof_handler.get_tria().n_levels(), ExcMatricesNotBuilt()); @@ -683,7 +683,7 @@ MGTransferBlock::copy_to_mg ( unsigned int minlevel = dst.get_minlevel(); unsigned int maxlevel = dst.get_maxlevel(); - dst.clear(); + dst=0; MGTools::reinit_vector(mg_dof_handler, dst, mg_selected, mg_target_component); -- 2.39.5