From: bangerth Date: Wed, 21 May 2008 18:03:36 +0000 (+0000) Subject: Use the regular sparsity pattern instead of a flux sparsity pattern: this increases... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6852537f9e811874592ccbc8e092dc830c8f17d0;p=dealii-svn.git Use the regular sparsity pattern instead of a flux sparsity pattern: this increases the average number of inner GMRES iterations from 5 to 8, but it decreases the compute time for computing up to T=0.5 from 1m08 to 0m45... git-svn-id: https://svn.dealii.org/trunk@16163 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-33/step-33.cc b/deal.II/examples/step-33/step-33.cc index d055cdf725..1dfc8440c1 100644 --- a/deal.II/examples/step-33/step-33.cc +++ b/deal.II/examples/step-33/step-33.cc @@ -1759,7 +1759,7 @@ void ConservationLaw::setup_system () // row: CompressedSparsityPattern sparsity_pattern (dof_handler.n_dofs(), dof_handler.n_dofs()); - DoFTools::make_flux_sparsity_pattern (dof_handler, sparsity_pattern); + DoFTools::make_sparsity_pattern (dof_handler, sparsity_pattern); ConstraintMatrix hanging_node_constraints; DoFTools::make_hanging_node_constraints (dof_handler,