[petsc-users] On the usage of MatSetValuesBlocked

Edoardo alinovi edoardo.alinovi at gmail.com
Fri Nov 4 05:55:01 CDT 2022


Thanks Matt,

I have found out that setValuesblocked will work if I do:

call MatCreateVecs(A, x, y, ierr)
call setValuesBlocked(x, nblocks, varray, ierr)

However, there is nogetValuesBlocked. Not the end of the world, it is handy
to set and get stuff by block and not by single entry :)

Cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20221104/f74e1d06/attachment.html>


More information about the petsc-users mailing list