[petsc-users] Check PETSc's saddle point structure

Matthew Knepley knepley at gmail.com
Wed Nov 30 07:38:25 CST 2016


On Wed, Nov 30, 2016 at 7:27 AM, Karin&NiKo <niko.karin at gmail.com> wrote:

> Dear PETSc team,
>
> I am using the "-pc_fieldsplit_detect_saddle_point" feature of fieldsplit
> in order to solve a Stokes-like problem.
>
> I would like to check the saddle point structure automatically detected by
> PETSc.
>         o Is there a way of printing the automatically built IS?
>

The -ksp_view will give you the sizes. If you want the actual IS you can
use
http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/PC/PCFieldSplitGetIS.html
after the solve.

  Matt


>         o Are there some printings with "-ksp_view" that could give some
> insight on the fields built by PETSc?
>
> Thanks in advance,
> Nicolas
>



-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20161130/95b0018e/attachment.html>


More information about the petsc-users mailing list