[petsc-users] [PATCH 2/2] Call KSPSetFromOptions before setting fieldsplit-specific options

Jed Brown jedbrown at mcs.anl.gov
Sun Sep 8 08:38:42 CDT 2013


Umut Tabak <u.tabak at tudelft.nl> writes:

> On 09/08/2013 08:43 AM, Jed Brown wrote:
>> Umut Tabak <u.tabak at tudelft.nl> writes:
>>
>> Your splits were both the same,
> Some questions:
>
> + Splits represent different row and column blocks, right?

They should be different, though they can overlap (rarely what you
want).

> + And as far as I understand from you(maybe this is in the manual, I am 
> not sure) and they should differ in size, right?

They may or may not be the same size, but if you look at what your code
actually did, it was creating two identical index sets (both only used
the first entry of your 'inputindices').
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130908/6066394d/attachment.pgp>


More information about the petsc-users mailing list