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

Jed Brown jed at jedbrown.org
Fri Oct 21 12:50:24 CDT 2016


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: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20161021/40ab08dc/attachment.pgp>


More information about the petsc-users mailing list