From f2fa0ac228f5bcb85d218188eb536c3c6fb5b0db Mon Sep 17 00:00:00 2001 From: kronbichler Date: Sun, 25 Aug 2013 19:19:51 +0000 Subject: [PATCH] Fix tutorial program git-svn-id: https://svn.dealii.org/trunk@30485 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-51/step-51.cc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/deal.II/examples/step-51/step-51.cc b/deal.II/examples/step-51/step-51.cc index 1f838c2afd..6de52e80dd 100644 --- a/deal.II/examples/step-51/step-51.cc +++ b/deal.II/examples/step-51/step-51.cc @@ -896,8 +896,6 @@ Step51::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::postprocess() WorkStream::run(dof_handler_u_post.begin_active(), dof_handler_u_post.end(), - *this, - &Step51::postprocess_one_cell, - std_cxx1x::function(), + std_cxx1x::bind (&Step51::postprocess_one_cell, + std_cxx1x::ref(*this), + std_cxx1x::_1, std_cxx1x::_2, std_cxx1x::_3), + std_cxx1x::function(), scratch, - task_data); + 0U); } // Compute some convergence rates, etc., and add to a table -- 2.39.5