From 4f09bb78e48d86898674af50bc593884292cb9ea Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Fri, 11 Feb 2022 16:24:29 -0700 Subject: [PATCH] step-55: init sparsity pattern with relevant dofs --- examples/step-55/step-55.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5