[petsc-users] snes ngmres default options

Matthew Knepley knepley at gmail.com
Mon Apr 23 12:22:44 CDT 2018


On Mon, Apr 23, 2018 at 11:41 AM, Volmer, J.C. <j.c.volmer at student.tue.nl>
wrote:

> Dear PETSc users,
>
> Could anyone tell me where I can find the default options for the NGMRES
> solver if none are provided?
> I have tried searching in the source code http://www.mcs.anl.gov/
> petsc/petsc-current/src/snes/impls/ngmres/snesngmres.c.html#SNESNGMRES
> but for example the parameter ‘snes_ngmres_m’ I could not deduce from
> there.
>

If you want to know what they are, you can use -snes_view. They are set here


https://bitbucket.org/petsc/petsc/src/79b862a042ee9b723f68875412fde954bbcb6cb2/src/snes/impls/ngmres/snesngmres.c?at=master&fileviewer=file-view-default#snesngmres.c-547

  Thanks,

    Matt


> All help is appreciated.
>
> Best regards,
>
> Jasper
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180423/cdc3a872/attachment.html>


More information about the petsc-users mailing list