From f481a55d018e79d15a07927f7f61e936beb51d97 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Wed, 13 May 2020 12:55:29 +0200 Subject: [PATCH] Always inline FEEvaluationBase::inverse_jacobian --- include/deal.II/matrix_free/fe_evaluation.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/deal.II/matrix_free/fe_evaluation.h b/include/deal.II/matrix_free/fe_evaluation.h index 6ecbcdf292..5bb31013b4 100644 --- a/include/deal.II/matrix_free/fe_evaluation.h +++ b/include/deal.II/matrix_free/fe_evaluation.h @@ -3549,8 +3549,8 @@ template -inline Tensor<2, dim, VectorizedArrayType> -FEEvaluationBase:: +inline DEAL_II_ALWAYS_INLINE Tensor<2, dim, VectorizedArrayType> + FEEvaluationBase:: inverse_jacobian(const unsigned int q_index) const { AssertIndexRange(q_index, n_quadrature_points); @@ -3561,12 +3561,14 @@ FEEvaluationBase:: return jacobian[q_index]; } + + template -std::array +inline std::array FEEvaluationBase:: get_cell_ids() const { -- 2.39.5