[petsc-users] In a 2D DMDA object, how to convert (i, j) to a global index?

Fande Kong fdkong.jd at gmail.com
Tue Jan 8 16:11:43 CST 2019


Hi All,

I was wondering how to convert a regular (2D DMDA) grid coordinate (i,j) to
a global index that is used for global matrices and vectors. Do we have any
API on this?

Thanks,

Fande Kong,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190108/e9f61b64/attachment.html>


More information about the petsc-users mailing list