]> https://gitweb.dealii.org/ - dealii.git/commitdiff
step-55: init sparsity pattern with relevant dofs 13363/head
authorMarc Fehling <mafehling.git@gmail.com>
Fri, 11 Feb 2022 23:24:29 +0000 (16:24 -0700)
committerMarc Fehling <mafehling.git@gmail.com>
Fri, 11 Feb 2022 23:24:29 +0000 (16:24 -0700)
examples/step-55/step-55.cc

index b5d9256372856087f1efa3faa042afaab50a1487..d56469a1c9cf0bfad2e806db1990c59680398cab 100644 (file)
@@ -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);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.