[petsc-users] question about contexts

Dominik Szczerba dominik at itis.ethz.ch
Sat Oct 1 14:22:48 CDT 2011

You are right it compiles now, I must have screwed something up
before, not enough sleep and coffee...
Thanks, it finally works the way I want.


On Sat, Oct 1, 2011 at 7:53 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
> 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.

More information about the petsc-users mailing list