[petsc-users] Calculating the PETSc index of a DMComposite vector

Anush Krishnan anush at bu.edu
Mon Nov 11 18:38:21 CST 2013

Hi all,

I have two 2D distributed arrays U and V, and a vector created from the
DMComposite of both. If I know just the Natural Ordering index of an
element of U  or V, can I calculate the PETSc Ordering index of that
element in the composite vector?

Thank you,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131111/72b238a0/attachment.html>

More information about the petsc-users mailing list