[petsc-dev] controlling vector values while doing matrix free operations

Jed Brown jedbrown at mcs.anl.gov
Wed Dec 14 21:36:12 CST 2011


On Wed, Dec 14, 2011 at 19:34, Dmitry Karpeev <karpeev at mcs.anl.gov> wrote:

> We could support a matrix-free SNESVI if extracting a submatrix from a MF
> matrix was implemented by pre-/post-multiplying it by a suitable P, no?


You can MatGetSubMatrix() a MatMFFD. The implementation calls
MatCreateSubMatrix() and is used by PCFieldSplit.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20111214/f2988e41/attachment.html>


More information about the petsc-dev mailing list