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 <[email protected]> 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. >
