[petsc-users] SNES Shell Problems

Gaetan Kenway kenway at utias.utoronto.ca
Mon Aug 27 16:06:53 CDT 2012


Thanks very much for the very quick response.

I will pull the change from the mercurial repository and give it a try in
the next couple of days.

Gaetan

On Mon, Aug 27, 2012 at 3:59 PM, Peter Brune <brune at mcs.anl.gov> wrote:

> 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/be782480/attachment.html>


More information about the petsc-users mailing list