]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix tutorial program
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 25 Aug 2013 19:19:51 +0000 (19:19 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 25 Aug 2013 19:19:51 +0000 (19:19 +0000)
git-svn-id: https://svn.dealii.org/trunk@30485 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-51/step-51.cc

index 1f838c2afdc3a5d9651a7637fac4b5d96c392562..6de52e80dde060d9bb022f8c6853afe7812badb6 100644 (file)
@@ -896,8 +896,6 @@ Step51<dim>::postprocess()
     const UpdateFlags flags ( update_values | update_gradients |
                               update_JxW_values);
 
-    EmptyData task_data;
-
     PostProcessScratchData scratch (fe_u_post, fe_local,
                                     quadrature_formula,
                                     local_flags,
@@ -905,11 +903,12 @@ Step51<dim>::postprocess()
 
     WorkStream::run(dof_handler_u_post.begin_active(),
                     dof_handler_u_post.end(),
-                    *this,
-                    &Step51<dim>::postprocess_one_cell,
-                    std_cxx1x::function<unsigned int>(),
+                    std_cxx1x::bind (&Step51<dim>::postprocess_one_cell,
+                                     std_cxx1x::ref(*this),
+                                     std_cxx1x::_1, std_cxx1x::_2, std_cxx1x::_3),
+                    std_cxx1x::function<void(const unsigned int&)>(),
                     scratch,
-                    task_data);
+                    0U);
   }
 
   // Compute some convergence rates, etc., and add to a table

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.