]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Work on bug in 2nd derivatives
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Fri, 9 Mar 2001 13:41:04 +0000 (13:41 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Fri, 9 Mar 2001 13:41:04 +0000 (13:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@4179 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_system.cc

index 7df752170a8bfb038b94cdca55761069ce33a81c..f9a2e3f9eca7b2f6ed0e04d1d8eeefb5825549ee 100644 (file)
@@ -339,7 +339,8 @@ FESystem<dim>::get_data (UpdateFlags            flags,
       FEValuesData<dim> *base_data = new FEValuesData<dim>();
       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());

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.