[petsc-users] (Fast?) assembly of upper triangle and MatZeroRows

Jed Brown jedbrown at mcs.anl.gov
Mon Aug 8 14:54:23 CDT 2011


On Mon, Aug 8, 2011 at 14:44, Barry Smith <bsmith at mcs.anl.gov> wrote:

> > How would you use this interface with SNES?
>
>    The user calls this as part  the FormJacobian()  (in the same way as if
> they explicitly remove those rows and columns (what Matt likes) in the
> matrix assembly.


But they need access to the right hand side at the same time. It seems too
fragile to reach into the SNES and modify the residual vector during
Jacobian evaluation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110808/a54c394a/attachment.htm>


More information about the petsc-users mailing list