From 84ad414f6b71008832db8115583edd7473457639 Mon Sep 17 00:00:00 2001 From: Daniel Jodlbauer Date: Tue, 17 Mar 2020 08:24:56 +0100 Subject: [PATCH] MF::copy_from: add missing fields --- .../changes/minor/20200316DanielJodlbauer | 3 +++ .../matrix_free/matrix_free.templates.h | 24 ++++++++++--------- 2 files changed, 16 insertions(+), 11 deletions(-) create mode 100644 doc/news/changes/minor/20200316DanielJodlbauer diff --git a/doc/news/changes/minor/20200316DanielJodlbauer b/doc/news/changes/minor/20200316DanielJodlbauer new file mode 100644 index 0000000000..9c40d74625 --- /dev/null +++ b/doc/news/changes/minor/20200316DanielJodlbauer @@ -0,0 +1,3 @@ +Fixed: Add missing fields to MatrixFree::copy_from. +
+(Daniel Jodlbauer, 2020/03/16) diff --git a/include/deal.II/matrix_free/matrix_free.templates.h b/include/deal.II/matrix_free/matrix_free.templates.h index 21b77dbe1a..c4dad79eeb 100644 --- a/include/deal.II/matrix_free/matrix_free.templates.h +++ b/include/deal.II/matrix_free/matrix_free.templates.h @@ -334,17 +334,19 @@ MatrixFree::copy_from( const MatrixFree &v) { clear(); - dof_handlers = v.dof_handlers; - dof_info = v.dof_info; - constraint_pool_data = v.constraint_pool_data; - constraint_pool_row_index = v.constraint_pool_row_index; - mapping_info = v.mapping_info; - shape_info = v.shape_info; - cell_level_index = v.cell_level_index; - task_info = v.task_info; - indices_are_initialized = v.indices_are_initialized; - mapping_is_initialized = v.mapping_is_initialized; - mg_level = v.mg_level; + dof_handlers = v.dof_handlers; + dof_info = v.dof_info; + constraint_pool_data = v.constraint_pool_data; + constraint_pool_row_index = v.constraint_pool_row_index; + mapping_info = v.mapping_info; + shape_info = v.shape_info; + cell_level_index = v.cell_level_index; + cell_level_index_end_local = v.cell_level_index_end_local; + task_info = v.task_info; + face_info = v.face_info; + indices_are_initialized = v.indices_are_initialized; + mapping_is_initialized = v.mapping_is_initialized; + mg_level = v.mg_level; } -- 2.39.5