void UniqueGlobalIndexer_Element<LocalOrdinalT,GlobalOrdinalT>::ownedIndices(const std::vector<GlobalOrdinalT> & indices,std::vector<bool> & isOwned) const { std::vector<GlobalOrdinalT> owned; getOwnedIndices(owned); isOwned.resize(indices.size(),false); for(std::size_t i=0;i<indices.size();i++) isOwned[i] = (std::find(owned.begin(),owned.end(),indices[i])!=owned.end()); }
void UniqueGlobalIndexer::getOwnedAndGhostedIndices(std::vector<int> & indices) const { getOwnedIndices(indices); }