17 uint64_t cell_global_id,
18 const std::vector<std::set<uint64_t>>& vertex_subscriptions,
19 const std::vector<int64_t>& cell_partition_ids)
22 int cell_pid =
static_cast<int>(cell_partition_ids[cell_global_id]);
23 if (cell_pid ==
Chi::mpi.location_id)
28 for (uint64_t cid : vertex_subscriptions[vid])
30 if (cid == cell_global_id)
continue;
31 int adj_pid =
static_cast<int>(cell_partition_ids[cid]);
static chi::MPI_Info & mpi
static bool CellHasLocalScope(const chi_mesh::UnpartitionedMesh::LightWeightCell &lwcell, uint64_t cell_global_id, const std::vector< std::set< uint64_t > > &vertex_subscriptions, const std::vector< int64_t > &cell_partition_ids)
std::vector< uint64_t > vertex_ids