From: Martin Kronbichler Date: Tue, 18 Jan 2022 13:45:12 +0000 (+0100) Subject: Merge pull request #13253 from peterrum/fe_eval_jacobian_gradients X-Git-Tag: v9.4.0-rc1~599 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ce56f1f2d7fe22811238185248dee1d1a0d2e95;p=dealii.git Merge pull request #13253 from peterrum/fe_eval_jacobian_gradients Move jacobian_gradients into FEEvalData --- 2ce56f1f2d7fe22811238185248dee1d1a0d2e95 diff --cc include/deal.II/matrix_free/fe_evaluation.h index 2898250ccb,7b1d2a1482..a5c4e384ba --- a/include/deal.II/matrix_free/fe_evaluation.h +++ b/include/deal.II/matrix_free/fe_evaluation.h @@@ -7618,9 -7631,11 +7611,12 @@@ FEFaceEvaluationnormal_x_jacobian = &this->mapping_data ->normals_times_jacobians[!this->is_interior_face][offsets]; + this->jacobian_gradients = + this->mapping_data->jacobian_gradients[!this->is_interior_face].data() + + offsets; # ifdef DEBUG + this->is_reinitialized = true; this->dof_values_initialized = false; this->values_quad_initialized = false; this->gradients_quad_initialized = false; @@@ -7755,9 -7770,11 +7751,12 @@@ FEFaceEvaluationmatrix_free->get_mapping_info() .face_data_by_cells[this->quad_no] .normals_times_jacobians[!this->is_interior_face][offsets]; + this->jacobian_gradients = + this->mapping_data->jacobian_gradients[!this->is_interior_face].data() + + offsets; # ifdef DEBUG + this->is_reinitialized = true; this->dof_values_initialized = false; this->values_quad_initialized = false; this->gradients_quad_initialized = false;