From: Nils Much Date: Fri, 21 Jun 2024 09:28:27 +0000 (+0200) Subject: Fix quad_no in MatrixFreeTools::compute_matrix() X-Git-Tag: v9.6.0-rc1~167^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be61aed2d9b26e304b2c0f3970795c76c774b28b;p=dealii.git Fix quad_no in MatrixFreeTools::compute_matrix() --- diff --git a/include/deal.II/matrix_free/tools.h b/include/deal.II/matrix_free/tools.h index 92e3f83166..48515bbf72 100644 --- a/include/deal.II/matrix_free/tools.h +++ b/include/deal.II/matrix_free/tools.h @@ -1956,7 +1956,7 @@ namespace MatrixFreeTools data_cell; data_cell.dof_numbers = {dof_no}; - data_cell.quad_numbers = {dof_no}; + data_cell.quad_numbers = {quad_no}; data_cell.first_selected_components = {first_selected_component}; data_cell.batch_type = {0}; @@ -1992,7 +1992,7 @@ namespace MatrixFreeTools data_face; data_face.dof_numbers = {dof_no, dof_no}; - data_face.quad_numbers = {dof_no, quad_no}; + data_face.quad_numbers = {quad_no, quad_no}; data_face.first_selected_components = {first_selected_component, first_selected_component}; data_face.batch_type = {1, 2}; @@ -2054,7 +2054,7 @@ namespace MatrixFreeTools data_boundary; data_boundary.dof_numbers = {dof_no}; - data_boundary.quad_numbers = {dof_no}; + data_boundary.quad_numbers = {quad_no}; data_boundary.first_selected_components = {first_selected_component}; data_boundary.batch_type = {1};