>   MeshWorker::integration_loop<dim, dim>
>     (dof_handler.begin_active(), dof_handler.end(),
>      dof_info, info_box,
> boost::bind(&NewtonOptimalitySystemSolver<dim>::integrate_cell_term_primal
> , _1, _2, _3),
> [...]

I think you've got this the wrong way around. I believe your 
integrate_cell_term_primal takes 2 arguments, plus the 'this' pointer, for a 
total of 3. But the MeshWorker wants to call it with two. So what you need to 
do is to 'bind' the (implicit) first argument to 'this', leaving two un-bound 
arguments. So this would then look like this:

 MeshWorker::integration_loop<dim, dim>
    (dof_handler.begin_active(), dof_handler.end(),
     dof_info, info_box,
     
boost::bind(&NewtonOptimalitySystemSolver<dim>::integrate_cell_term_primal, 
                           this,_1, _2),
    ...

W.

-------------------------------------------------------------------------
Wolfgang Bangerth                email:            [email protected]
                                 www: http://www.math.tamu.edu/~bangerth/
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to