]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
add missing update flag
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 20 Mar 2008 21:27:49 +0000 (21:27 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 20 Mar 2008 21:27:49 +0000 (21:27 +0000)
git-svn-id: https://svn.dealii.org/trunk@15923 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_raviart_thomas.cc

index 31f1456e8913710f58fbe5a35971e14df5093967..0fa237210c8a026534bd6930511a607535a4883f 100644 (file)
@@ -464,10 +464,10 @@ FE_RaviartThomas<dim>::update_each (const UpdateFlags flags) const
                                      | update_contravariant_transformation
                                      | update_cell_JxW_values
                                      | update_JxW_values;
-  //TODO: Set update flags appropriately and figure out, how the second
-  // derivatives for the RT elements can be computed correctly.
   if (flags & update_hessians)
-    out |= update_hessians | update_contravariant_transformation;
+    out |= update_hessians
+          | update_contravariant_transformation
+          | update_covariant_transformation;
 
   return out;
 }

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.