From b409a612afa468f1da8c6d6fd5de7cd2c19c6241 Mon Sep 17 00:00:00 2001 From: wolf Date: Tue, 16 Nov 1999 08:31:23 +0000 Subject: [PATCH] Improve thread-safety. git-svn-id: https://svn.dealii.org/trunk@1852 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/fe/fe_values.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/deal.II/deal.II/source/fe/fe_values.cc b/deal.II/deal.II/source/fe/fe_values.cc index 65c9b674a3..056e20bed8 100644 --- a/deal.II/deal.II/source/fe/fe_values.cc +++ b/deal.II/deal.II/source/fe/fe_values.cc @@ -391,15 +391,13 @@ void FEValues::reinit (const typename DoFHandler::cell_iterator &cell) += unit_shape_gradients[i][j][b] * jacobi_matrices[j][b][s]; }; - + Tensor<2,dim> tmp1, tmp2; if (update_flags & update_second_derivatives) for (unsigned int i=0; itotal_dofs; ++i) for (unsigned int j=0; j tmp1, tmp2; - - // tmp1 := (d_k d_l phi) J_lj + // tmp1 := (d_k d_l phi) J_lj contract (tmp1, unit_shape_2nd_derivatives[i][j], jacobi_matrices[j]); // tmp2 := tmp1_kj J_ki contract (tmp2, tmp1, 1, jacobi_matrices[j], 1); -- 2.39.5