]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add copy constuctor to MatrixFree::AdditionalData 8965/head
authorPeter Munch <peterrmuench@gmail.com>
Sat, 26 Oct 2019 21:13:34 +0000 (23:13 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Sun, 27 Oct 2019 07:33:52 +0000 (08:33 +0100)
include/deal.II/matrix_free/matrix_free.h

index 3d610b3527df6b0123583919e641c13391d452bc..b31b0c3b352514cd63972d4f74afedad6f35f2b5 100644 (file)
@@ -242,6 +242,31 @@ public:
           cell_vectorization_categories_strict)
     {}
 
+    /**
+     * Copy constructor.
+     */
+    AdditionalData(const AdditionalData &other)
+      : tasks_parallel_scheme(other.tasks_parallel_scheme)
+      , tasks_block_size(other.tasks_block_size)
+      , mapping_update_flags(other.mapping_update_flags)
+      , mapping_update_flags_boundary_faces(
+          other.mapping_update_flags_boundary_faces)
+      , mapping_update_flags_inner_faces(other.mapping_update_flags_inner_faces)
+      , mapping_update_flags_faces_by_cells(
+          other.mapping_update_flags_faces_by_cells)
+      , mg_level(other.mg_level)
+      , level_mg_handler(this->mg_level)
+      , store_plain_indices(other.store_plain_indices)
+      , initialize_indices(other.initialize_indices)
+      , initialize_mapping(other.initialize_mapping)
+      , overlap_communication_computation(
+          other.overlap_communication_computation)
+      , hold_all_faces_to_owned_cells(other.hold_all_faces_to_owned_cells)
+      , cell_vectorization_category(other.cell_vectorization_category)
+      , cell_vectorization_categories_strict(
+          other.cell_vectorization_categories_strict)
+    {}
+
     /**
      * Set the scheme for task parallelism. There are four options available.
      * If set to @p none, the operator application is done in serial without

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.