From: bangerth Date: Wed, 21 May 2008 16:51:10 +0000 (+0000) Subject: Use make_flux_sparsity_pattern -- for some reason, this yields a sparsity pattern... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76461d4e2352eb2edc94e5e27e354e5cffb70ba9;p=dealii-svn.git Use make_flux_sparsity_pattern -- for some reason, this yields a sparsity pattern on which we only need 5 instead of typically 7 GMRES iterations... git-svn-id: https://svn.dealii.org/trunk@16162 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 1dfc8440c1..d055cdf725 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_sparsity_pattern (dof_handler, sparsity_pattern); + DoFTools::make_flux_sparsity_pattern (dof_handler, sparsity_pattern); ConstraintMatrix hanging_node_constraints; DoFTools::make_hanging_node_constraints (dof_handler,