From: Timo Heister Date: Mon, 4 Nov 2013 20:18:59 +0000 (+0000) Subject: remove 2x compress() in step-42 X-Git-Tag: v8.1.0~398 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9c7b286a972c2ec63b4684e8f22d935c78ed493;p=dealii.git remove 2x compress() in step-42 git-svn-id: https://svn.dealii.org/trunk@31539 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-42/step-42.cc b/deal.II/examples/step-42/step-42.cc index e9b743a589..795047c529 100644 --- a/deal.II/examples/step-42/step-42.cc +++ b/deal.II/examples/step-42/step-42.cc @@ -1624,8 +1624,6 @@ namespace Step42 constraints_hanging_nodes.set_zero(distributed_solution); constraints_hanging_nodes.set_zero(newton_rhs); - distributed_solution.compress(VectorOperation::insert); - newton_rhs.compress(VectorOperation::insert); TrilinosWrappers::PreconditionAMG preconditioner; { @@ -1796,7 +1794,6 @@ namespace Step42 const double alpha = std::pow(0.5, static_cast(i)); tmp_vector = old_solution; tmp_vector.sadd(1 - alpha, alpha, distributed_solution); - tmp_vector.compress(VectorOperation::add); TimerOutput::Scope t(computing_timer, "Residual and lambda");