]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Initialize n_colors in CUDAWrappers::MatrixFree::AdditionalData 8840/head
authorPeter Munch <peterrmuench@gmail.com>
Mon, 23 Sep 2019 14:10:57 +0000 (16:10 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Mon, 23 Sep 2019 14:12:46 +0000 (16:12 +0200)
include/deal.II/matrix_free/cuda_matrix_free.h

index 19ef0d3b5bb17f67a9f0fe64e96688d505ea0f5b..97a9f4578f1c925f30ca9ca5cac704269996ff08 100644 (file)
@@ -102,10 +102,12 @@ namespace CUDAWrappers
         const ParallelizationScheme parallelization_scheme = parallel_in_elem,
         const UpdateFlags           mapping_update_flags   = update_gradients |
                                                  update_JxW_values,
-        const bool use_coloring = false)
+        const bool use_coloring = false,
+        const bool n_colors     = 1)
         : parallelization_scheme(parallelization_scheme)
         , mapping_update_flags(mapping_update_flags)
         , use_coloring(use_coloring)
+        , n_colors(n_colors)
       {}
 
       /**

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.