[petsc-dev] Preconditioner for Schur complement (pcfieldsplit)
Jed Brown
jed at 59A2.org
Wed Apr 6 04:23:17 CDT 2011
On Wed, Apr 6, 2011 at 09:34, Thomas Witkowski <
thomas.witkowski at tu-dresden.de> wrote:
> I have not a very good overview of PETSc's internal matters, but wouldn't
> be it correct that MatGetBlockSize returns the number of nested matrices of
> a MatNest?
No, and it would not make sense to do so because that is semantically
different information.
We can add support for automatically detecting splits when MatNest is used,
but it really is better to set the splits using PCFieldSplitSetIS() or by
using DMComposite because then it will do the correct thing regardless of
whether MatNest is used underneath.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110406/36ec271a/attachment.html>
More information about the petsc-dev
mailing list