From ee78a1715f75a3559bfa9219180bb2d209a1a9fd Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Mon, 3 Aug 2020 11:10:01 +0200 Subject: [PATCH] Update an outdated code comment --- include/deal.II/matrix_free/operators.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/deal.II/matrix_free/operators.h b/include/deal.II/matrix_free/operators.h index 77e2cf2db1..16c85505e5 100644 --- a/include/deal.II/matrix_free/operators.h +++ b/include/deal.II/matrix_free/operators.h @@ -991,8 +991,7 @@ namespace MatrixFreeOperators ExcMessage( "Expected diagonal to be a multiple of scalar dof per cells")); - // temporarily reduce size of inverse_jxw to dofs_per_cell to get JxW values - // from fe_eval (will not reallocate any memory) + // compute values for the first component for (unsigned int q = 0; q < dofs_per_component_on_cell; ++q) inverse_jxw[q] = 1. / fe_eval.JxW(q); // copy values to rest of vector -- 2.39.5