[petsc-users] ksp solve error with nested matrix

Lawrence Mitchell lawrence.mitchell at imperial.ac.uk
Thu Feb 9 11:33:04 CST 2017



On 09/02/17 17:29, Barry Smith wrote:
> 
>> On Feb 8, 2017, at 11:39 PM, Dave May <dave.mayhem23 at gmail.com> wrote:
>>
>> Any time you modify one of the submats, you need to call assembly begin/end on that sub matrix AND on the outer matnest object.
> 
>    Weird, and prone to errors it seems to me. Perhaps this needs to be rethought

If you just call assembly begin/end on the outer object, that takes
care of calling it on the nested matrices.  But that's still not
ideal, I think.

Lawrence

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170209/e9723c41/attachment.pgp>


More information about the petsc-users mailing list