Skip to content

Commit

Permalink
Merge pull request #13363 from marcfehling/sparsity
Browse files Browse the repository at this point in the history
step-55: init sparsity pattern with relevant dofs
  • Loading branch information
bangerth committed Feb 14, 2022
2 parents 9f5797c + 4f09bb7 commit 2105cad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/step-55/step-55.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 2105cad

Please sign in to comment.