[MOAB-dev] get uniquely owned vertices

Nico Schlömer nico.schloemer at gmail.com
Mon Dec 7 05:25:56 CST 2015


Hi everyone,

When reading a mesh in parallel, I would like to get the vertices such that
every vertex belong to exactly one process. When reading with
```
  moab::Range verts;
  ierr = mb->get_entities_by_dimension(0, 0, verts);
```
the vertices along the process interfaces will be shared, i.e., they appear
on two processes.

I used to believe the above does the right thing and I have to use get the
shared entities separately
```
  moab::Range shared;
  ierr = mcomm_->get_shared_entities(-1, shared, 0);
  all.merge(shared);
```
but it seems I'm on the wrong track.

Any hints?

Cheers,
Nico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20151207/1a5022d9/attachment.html>


More information about the moab-dev mailing list