PCShell interface

Barry Smith bsmith at mcs.anl.gov
Wed Jun 10 11:14:24 CDT 2009


    Go ahead. This has been on the todo list for a decade.

    Remember to update dev.html with the change and change any  
examples that use PCShell.

    Note you have to update the Fortran stubs for these beasts (some  
of the uglier stuff in PETSc.)


     Barry

On Jun 10, 2009, at 11:09 AM, Jed Brown wrote:

> Matthew Knepley wrote:
>> If I understand correctly, the objection is that apply for MatShell  
>> is
>>
>>  apply(Mat, Vec, Vec)
>>
>> and for PCShell is
>>
>>  apply(ctx, Vec, Vec)
>
> Exactly.
>
>> I agree that this is crap. Its an easy fix to jsut pass the PC  
>> instead of
>> the ctx and let the user pull out the ctx manually if he wants. I  
>> am for
>> this.
>
> Great, I can do it.
>
> Jed
>




More information about the petsc-dev mailing list