[MOAB-dev] vertices of edges

Nico Schlömer nico.schloemer at gmail.com
Sun Jan 3 17:32:33 CST 2016


Given a bunch of edges, I'm trying to get the vertices on these edges. The
output of
```
  std::cout << "num boundary edges " << edges.size() << std::endl;
  moab::Range verts;
  rval = mcomm_->get_moab()->get_adjacencies(edges, 0, false, verts);
  if (rval != moab::MB_SUCCESS) {
    throw std::runtime_error("error in moab::get_adjacencies");
  }
  std::cout << "num boundary verts: " << verts.size() << std::endl;
```
is
```
num boundary edges 57
num boundary verts: 0
```
For the life of me I don't see what's wrong here. Any obvious mistakes?

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


More information about the moab-dev mailing list