[petsc-users] question about contexts

Jed Brown jedbrown at mcs.anl.gov
Sat Oct 1 12:53:07 CDT 2011


On Sat, Oct 1, 2011 at 12:36, Dominik Szczerba <dominik at itis.ethz.ch> wrote:

> Yes, I was trying to, but always get the previously mentioned error
> when using PCShellSetApply
>
> error: argument of type ‘PetscErrorCode
> (FluidSolver::)(_p_PC*, _p_Vec*, _p_Vec*)’ does not match
> ‘PetscErrorCode (*)(_p_PC*, _p_Vec*, _p_Vec*)’
>
> Is it still possible somehow? Would be great!
>

Are you sure the function you are passing in is static? Show us the code
snippets.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111001/ef1a9126/attachment.htm>


More information about the petsc-users mailing list