[petsc-users] Global Numbering

Matthew Knepley knepley at gmail.com
Wed Mar 21 09:38:28 CDT 2018

On Wed, Mar 21, 2018 at 8:18 AM, Mohammad Hassan Baghaei <
mhbaghaei at mail.sjtu.edu.cn> wrote:

> Hello
> I am trying to create a global vector of coordinates based on the
> parallelized dm. I find it really hard to work with the local numbering,
> how can I manage to create a kind of numbering on global level so that I
> could easily access to the nodes based on the new numbering. Thanks for
> your time.
DMGetCoordinates() gives you a global vector.
DMGetCoordinatesLocal() gives you a local vector.

What are you trying to do?



> Amir

What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180321/c8395ba8/attachment.html>

More information about the petsc-users mailing list