]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix for the moment
authorjanssen <janssen@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 10 Jul 2012 21:39:25 +0000 (21:39 +0000)
committerjanssen <janssen@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 10 Jul 2012 21:39:25 +0000 (21:39 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_higher_derivatives@25694 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/fe/fe_poly.templates.h

index 53852119491f6aa1b1fe456e22e93a28d4ecc67c..bac8eaf2311b1a3113aa3e39215b62092ccf1ed4 100644 (file)
@@ -244,12 +244,17 @@ FE_Poly<POLY,dim,spacedim>::get_data (const UpdateFlags      update_flags,
         std::vector<Tensor<1,dim> > (n_q_points));
   }
 
+  if (flags & update_hessians)
+    data->initialize_2nd (this, mapping, quadrature);
+
+  /*
   if (flags & update_hessians)
   {
     hessians.resize (this->dofs_per_cell);
     data->shape_hessians.resize (this->dofs_per_cell,
         std::vector<Tensor<2,dim> >(n_q_points));
   }
+  */
 
   if (flags & update_3rd_derivatives)
   {

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.