]> https://gitweb.dealii.org/ - dealii.git/commitdiff
When we know that sparsity pattern entries are sorted, communicate that. 15418/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 21 Jun 2023 15:39:16 +0000 (09:39 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 21 Jun 2023 15:41:54 +0000 (09:41 -0600)
include/deal.II/matrix_free/matrix_free.templates.h

index 1323f58aa0a2f985cad437f4bb47c26929083289..793233b56697c70d5579c89be8b6da665b16669f 100644 (file)
@@ -1083,7 +1083,8 @@ namespace internal
         connectivity_direct.add_entries(cell,
                                         new_indices.begin(),
                                         std::unique(new_indices.begin(),
-                                                    new_indices.end()));
+                                                    new_indices.end()),
+                                        true);
       }
   }
 
@@ -1115,7 +1116,8 @@ namespace internal
         connectivity.add_entries(block,
                                  new_indices.begin(),
                                  std::unique(new_indices.begin(),
-                                             new_indices.end()));
+                                             new_indices.end()),
+                                 true);
       }
   }
 

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.