<div dir="ltr"><div>> Get owned nodes. <br></div><div><br></div><div>Aha, I think `get_entities_by_dimension()` is my friend.</div><div><br></div><div>> * Translate a Range into a std::vector. Seems easy given Range's operator[].</div><div><br></div><div>The above function also spits out a std::vector. Nice.</div><div><br></div><div>> <span style="line-height:1.5">Get owned plus shared nodes.</span></div><div><span style="line-height:1.5"><br></span></div><div>That should be easy now. :)</div><div><br></div><div>--Nico</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 2, 2015 at 11:30 AM Nico Schlömer <<a href="mailto:nico.schloemer@gmail.com">nico.schloemer@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I would liket to create a Tpetra::Map [1] from a MOAB parallel partition. To this end, I need to following:<div><br></div><div> * The notion of global ID of a node. I trust EntityHandle is what I'm looking for? EntityID appears to be the index a lot of times, aka, a local ID.</div><div> * Translate a Range into a std::vector. Seems easy given Range's operator[].</div><div> * Get owned nodes. Get owned plus shared nodes.</div><div>    I'm still not quite familiar on how to best pick out entity sets from a pcomm. I see there's `get_pstatus_entities()`, but I don't see a PSTATUS_OWNED.</div><div><br></div><div>Cheers,</div><div>Nico</div><div><br></div><div>[1] <a href="https://trilinos.org/docs/dev/packages/tpetra/doc/html/classTpetra_1_1Map.html" target="_blank">https://trilinos.org/docs/dev/packages/tpetra/doc/html/classTpetra_1_1Map.html</a></div></div></blockquote></div>