From: Wolfgang Bangerth Date: Wed, 21 Jun 2023 15:39:16 +0000 (-0600) Subject: When we know that sparsity pattern entries are sorted, communicate that. X-Git-Tag: relicensing~854^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15418%2Fhead;p=dealii.git When we know that sparsity pattern entries are sorted, communicate that. --- diff --git a/include/deal.II/matrix_free/matrix_free.templates.h b/include/deal.II/matrix_free/matrix_free.templates.h index 1323f58aa0..793233b566 100644 --- a/include/deal.II/matrix_free/matrix_free.templates.h +++ b/include/deal.II/matrix_free/matrix_free.templates.h @@ -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); } }