From: guido Date: Fri, 9 Mar 2001 13:41:04 +0000 (+0000) Subject: Work on bug in 2nd derivatives X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d655518ccb5e513fd8188adccd8c947f89573ad;p=dealii-svn.git Work on bug in 2nd derivatives git-svn-id: https://svn.dealii.org/trunk@4179 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/fe_system.cc b/deal.II/deal.II/source/fe/fe_system.cc index 7df752170a..f9a2e3f9ec 100644 --- a/deal.II/deal.II/source/fe/fe_system.cc +++ b/deal.II/deal.II/source/fe/fe_system.cc @@ -339,7 +339,8 @@ FESystem::get_data (UpdateFlags flags, FEValuesData *base_data = new FEValuesData(); data->set_fe_values_data(base_no, base_data); } - + if (data->compute_second_derivatives) + data->update_each |= update_each (update_second_derivatives); data->update_flags=data->update_once | data->update_each; Assert(data->update_once==update_once(flags), ExcInternalError()); Assert(data->update_each==update_each(flags), ExcInternalError());