[petsc-users] How to obtain the local matrix from a global matrix in DMDA?

liluo liluo at um.edu.mo
Mon Mar 14 09:31:36 CDT 2022


Dear developers,


I created a DMDA object and obtain the local vector from a global vector by using DMGlobalToLocalBegin/End.

How can I obtain the corresponding local matrix from the global matrix?

In my case, the global matrix is of MPIBAIJ type created by DMCreateMatrix(da,MATBAIJ,&A);


Bests,

LI


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


More information about the petsc-users mailing list