From: Peter Munch Date: Sat, 26 Oct 2019 21:13:34 +0000 (+0200) Subject: Add copy constuctor to MatrixFree::AdditionalData X-Git-Tag: v9.2.0-rc1~940^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0e54706ed5dfe26d7b9007613e99a597d2dac34;p=dealii.git Add copy constuctor to MatrixFree::AdditionalData --- diff --git a/include/deal.II/matrix_free/matrix_free.h b/include/deal.II/matrix_free/matrix_free.h index 3d610b3527..b31b0c3b35 100644 --- a/include/deal.II/matrix_free/matrix_free.h +++ b/include/deal.II/matrix_free/matrix_free.h @@ -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