From: Peter Munch Date: Tue, 10 Nov 2020 16:23:15 +0000 (+0100) Subject: Fix fe_face_evaluation_process_and_io for multiple components X-Git-Tag: v9.3.0-rc1~921^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8beb4f258af46dbe5b796fdcba9d6c444473e5b;p=dealii.git Fix fe_face_evaluation_process_and_io for multiple components --- diff --git a/include/deal.II/matrix_free/evaluation_kernels.h b/include/deal.II/matrix_free/evaluation_kernels.h index 67e437b511..eb9c18af22 100644 --- a/include/deal.II/matrix_free/evaluation_kernels.h +++ b/include/deal.II/matrix_free/evaluation_kernels.h @@ -3024,7 +3024,9 @@ namespace internal [cell * VectorizedArrayType::size() + v]; vector_ptrs[v] = const_cast( sm_ptr->operator[](temp.first).data() + - temp.second); + temp.second + comp * static_dofs_per_component + + dof_info.component_dof_indices_offset + [active_fe_index][first_selected_component]); } } else if (n_face_orientations == VectorizedArrayType::size()) @@ -3049,7 +3051,11 @@ namespace internal [dof_access_index][cells[v]]; vector_ptrs[v] = const_cast( sm_ptr->operator[](temp.first).data() + - temp.second); + temp.second + + comp * static_dofs_per_component + + dof_info.component_dof_indices_offset + [active_fe_index] + [first_selected_component]); } } }