[petsc-users] Looking for a quick example of a symmetric KKT system

Patrick Sanan patrick.sanan at gmail.com
Sat Oct 22 08:32:01 CDT 2016


No particularly good reason - I am also using Stokes systems as tests,
but thought it might be interesting to test on a saddle point system 
arising from a different proble.
On Fri, Oct 21, 2016 at 11:50:24AM -0600, Jed Brown wrote:
> Why doesn't a Stokes problem fulfill your needs?
> 
> Patrick Sanan <patrick.sanan at gmail.com> writes:
> 
> > Yes, but AFAIK that example produces a 2x2 system - I was hoping for
> > something with a variable problem size, ideally with some sort of
> > physics motivating the underlying optimization problem.
> >
> > On Fri, Oct 21, 2016 at 7:23 PM, Justin Chang <jychang48 at gmail.com> wrote:
> >> Something like this?
> >>
> >> http://www.mcs.anl.gov/petsc/petsc-current/src/tao/constrained/examples/tutorials/toy.c.html
> >>
> >>
> >> On Friday, October 21, 2016, Patrick Sanan <patrick.sanan at gmail.com> wrote:
> >>>
> >>> Are there any examples already in PETSc or TAO that assemble such a
> >>> system (which could thus be dumped)? SNES example ex73f90t assembles a
> >>> non-symmetric KKT system.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20161022/ef49c9c0/attachment.pgp>


More information about the petsc-users mailing list