[petsc-users] SNES Shell Problems

Peter Brune brune at mcs.anl.gov
Mon Aug 27 14:59:54 CDT 2012


I've tested and pushed a fix to petsc-3.3.  If there are any problems, let
me know.

On Mon, Aug 27, 2012 at 12:24 PM, Gaetan Kenway <kenway at utias.utoronto.ca>wrote:

> Excellent. Thanks.
>
> The reason for using the snes shell solver is I would like to try out the
> ngmres snes. solver. The code I'm working with already has a has a
> non-linear multi-grid method, coded directly in the fortran source. My plan
> was to setup the the ngmres snes solver, then create a snes shell as the
> preconditioner that wraps the nonlienear multigrid solver already in place.
>
> Does this make sense? Is this the sort of usage you had in mind?
>
>
This is very much the usage we were intending for this.

- Peter


> Thanks,
>
> Gaetan
>
>
> On Mon, Aug 27, 2012 at 1:10 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
>
>> On Mon, Aug 27, 2012 at 12:09 PM, Gaetan Kenway <kenway at utias.utoronto.ca
>> > wrote:
>>
>>> That's what I had deduced. I tried modifying the source code taking out
>>> the 'C', but it still didn't seem to generate the required wrapper. Does
>>> the functions that get passed function pointer handle's require special
>>> handling?
>>
>>
>> It needs custom handling. Peter is working on it.
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120827/a41363ec/attachment.html>


More information about the petsc-users mailing list