From: wolf Date: Tue, 3 May 2005 15:35:43 +0000 (+0000) Subject: In the parallel case, compress matrix. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c96e05961d28a3a2a271009c8ec2402e2826be3c;p=dealii-svn.git In the parallel case, compress matrix. git-svn-id: https://svn.dealii.org/trunk@10623 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/numerics/matrices.all_dimensions.cc b/deal.II/deal.II/source/numerics/matrices.all_dimensions.cc index 09d76f324f..eafd20c890 100644 --- a/deal.II/deal.II/source/numerics/matrices.all_dimensions.cc +++ b/deal.II/deal.II/source/numerics/matrices.all_dimensions.cc @@ -694,6 +694,9 @@ apply_boundary_values (const std::map &boundary_values, // used for both petsc matrix types PETScWrappers::apply_boundary_values (boundary_values, matrix, solution, right_hand_side, preserve_symmetry); + + // compress the matrix once we're done + matrix.compress (); }