From: kronbichler Date: Mon, 24 Feb 2014 20:27:05 +0000 (+0000) Subject: Fix performance regression in serial. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44138488eb0439e19b691a8b61d15d0eff548304;p=dealii-svn.git Fix performance regression in serial. git-svn-id: https://svn.dealii.org/trunk@32545 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/dofs/dof_renumbering.cc b/deal.II/source/dofs/dof_renumbering.cc index 3714e05e95..2e8f6497d8 100644 --- a/deal.II/source/dofs/dof_renumbering.cc +++ b/deal.II/source/dofs/dof_renumbering.cc @@ -408,22 +408,30 @@ namespace DoFRenumbering dof_handler.locally_owned_dofs()); DoFTools::make_sparsity_pattern (dof_handler, csp, constraints); - // Create sparsity pattern from csp by transferring its indices to - // processor-local index space and doing Cuthill-McKee there - std::vector row_lengths(locally_owned.n_elements()); - for (unsigned int i=0; i row_lengths(locally_owned.n_elements()); + for (unsigned int i=0; i