From: heister Date: Tue, 12 Feb 2013 23:00:15 +0000 (+0000) Subject: step-42: remove unnecessary compress() calls X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e19afc62b2c533c86242949583e6cea7b7a90929;p=dealii-svn.git step-42: remove unnecessary compress() calls git-svn-id: https://svn.dealii.org/trunk@28350 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 ddfa4ab464..8987076171 100644 --- a/deal.II/examples/step-42/step-42.cc +++ b/deal.II/examples/step-42/step-42.cc @@ -1267,8 +1267,6 @@ namespace Step42 constraints.distribute (distributed_solution); - distributed_solution.compress (VectorOperation::add); - solution = distributed_solution; } @@ -1319,8 +1317,6 @@ namespace Step42 t.restart(); system_matrix_newton = 0; system_rhs_newton = 0; - system_matrix_newton.compress(); - system_rhs_newton.compress(); assemble_nl_system (solution); //compute Newton-Matrix MPI_Barrier (mpi_communicator); t.stop(); @@ -1354,7 +1350,6 @@ namespace Step42 MPI_Barrier (mpi_communicator); t.restart(); system_rhs_newton = 0; - system_rhs_newton.compress(); solution = old_solution; residual_nl_system (solution);