]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Always inline FEEvaluationBase::inverse_jacobian 10181/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 13 May 2020 10:55:29 +0000 (12:55 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 13 May 2020 10:55:29 +0000 (12:55 +0200)
include/deal.II/matrix_free/fe_evaluation.h

index 6ecbcdf29200d67432d29ef2989fa74af9fe93f9..5bb31013b4349f3da4b9c1edff3fb6b221393699 100644 (file)
@@ -3549,8 +3549,8 @@ template <int dim,
           typename Number,
           bool is_face,
           typename VectorizedArrayType>
-inline Tensor<2, dim, VectorizedArrayType>
-FEEvaluationBase<dim, n_components_, Number, is_face, VectorizedArrayType>::
+inline DEAL_II_ALWAYS_INLINE Tensor<2, dim, VectorizedArrayType>
+                             FEEvaluationBase<dim, n_components_, Number, is_face, VectorizedArrayType>::
   inverse_jacobian(const unsigned int q_index) const
 {
   AssertIndexRange(q_index, n_quadrature_points);
@@ -3561,12 +3561,14 @@ FEEvaluationBase<dim, n_components_, Number, is_face, VectorizedArrayType>::
     return jacobian[q_index];
 }
 
+
+
 template <int dim,
           int n_components_,
           typename Number,
           bool is_face,
           typename VectorizedArrayType>
-std::array<unsigned int, VectorizedArrayType::size()>
+inline std::array<unsigned int, VectorizedArrayType::size()>
 FEEvaluationBase<dim, n_components_, Number, is_face, VectorizedArrayType>::
   get_cell_ids() const
 {

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.