From 7e93ddb039e8c76b337c86743c4b3805b0c2e8f0 Mon Sep 17 00:00:00 2001 From: guido Date: Fri, 9 Mar 2001 13:09:46 +0000 Subject: [PATCH] covariant transformation for 2nd derivatives git-svn-id: https://svn.dealii.org/trunk@4178 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/fe/fe_dgq.cc | 2 +- deal.II/deal.II/source/fe/fe_system.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deal.II/deal.II/source/fe/fe_dgq.cc b/deal.II/deal.II/source/fe/fe_dgq.cc index b9da2f48ef..aacb259c4b 100644 --- a/deal.II/deal.II/source/fe/fe_dgq.cc +++ b/deal.II/deal.II/source/fe/fe_dgq.cc @@ -266,7 +266,7 @@ FE_DGQ::update_each (const UpdateFlags flags) const out |= update_gradients | update_covariant_transformation; if (flags & update_second_derivatives) - out |= update_second_derivatives; + out |= update_second_derivatives | update_covariant_transformation; return out; } diff --git a/deal.II/deal.II/source/fe/fe_system.cc b/deal.II/deal.II/source/fe/fe_system.cc index dc5ccb59cf..7df752170a 100644 --- a/deal.II/deal.II/source/fe/fe_system.cc +++ b/deal.II/deal.II/source/fe/fe_system.cc @@ -264,8 +264,8 @@ FESystem::update_each (const UpdateFlags flags) const // respective flag since the base // elements don't have them if (flags & update_second_derivatives) - out |= update_second_derivatives; - + out |= update_second_derivatives | update_covariant_transformation; + return out; } -- 2.39.5