]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Allow ArborX to be used also when spacedim==1 15538/head
authorMarco Feder <marco.feder@sissa.it>
Fri, 14 Jul 2023 13:38:28 +0000 (15:38 +0200)
committerMarco Feder <marco.feder@sissa.it>
Fri, 14 Jul 2023 13:54:32 +0000 (15:54 +0200)
source/grid/grid_tools.cc

index 1008a91af415bd680b05097a4878740707ee677f..8c3c33dca37bd9f0f5570ed71b0c4e1d164b6ee1 100644 (file)
@@ -5908,8 +5908,7 @@ namespace GridTools
       ranks_and_indices.reserve(entities.size());
 
 #if defined(DEAL_II_WITH_ARBORX)
-      // ArborXWrappers don't support spacedim==1
-      static constexpr bool use_arborx = spacedim != 1;
+      static constexpr bool use_arborx = true;
 #else
       static constexpr bool use_arborx = false;
 #endif

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.