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=4f09bb78e48d86898674af50bc593884292cb9ea;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);