From: Marc Fehling Date: Fri, 11 Feb 2022 23:24:29 +0000 (-0700) Subject: step-55: init sparsity pattern with relevant dofs X-Git-Tag: v9.4.0-rc1~499^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13363%2Fhead;p=dealii.git step-55: init sparsity pattern with relevant dofs --- diff --git a/examples/step-55/step-55.cc b/examples/step-55/step-55.cc index b5d9256372..d56469a1c9 100644 --- a/examples/step-55/step-55.cc +++ b/examples/step-55/step-55.cc @@ -425,7 +425,7 @@ namespace Step55 else coupling[c][d] = DoFTools::none; - BlockDynamicSparsityPattern dsp(dofs_per_block, dofs_per_block); + BlockDynamicSparsityPattern dsp(relevant_partitioning); DoFTools::make_sparsity_pattern( dof_handler, coupling, dsp, constraints, false); @@ -453,7 +453,7 @@ namespace Step55 else coupling[c][d] = DoFTools::none; - BlockDynamicSparsityPattern dsp(dofs_per_block, dofs_per_block); + BlockDynamicSparsityPattern dsp(relevant_partitioning); DoFTools::make_sparsity_pattern( dof_handler, coupling, dsp, constraints, false);