Lines Matching refs:owners
782 PetscInt *chartSize, *owners, *gpoints; in DMPlexDistributionView_HDF5_Private() local
800 PetscCall(PetscMalloc1(*chartSize, &owners)); in DMPlexDistributionView_HDF5_Private()
807 owners[p - pStart] = rank; in DMPlexDistributionView_HDF5_Private()
813 owners[ilocalp] = iremote[p].rank; in DMPlexDistributionView_HDF5_Private()
816 PetscCall(ISCreateGeneral(comm, *chartSize, owners, PETSC_OWN_POINTER, &ownersIS)); in DMPlexDistributionView_HDF5_Private()
1958 const PetscInt *chartSize, *owners, *gpoints; in DMPlexDistributionLoad_HDF5_Private() local
1993 PetscCall(ISGetIndices(ownersIS, &owners)); in DMPlexDistributionLoad_HDF5_Private()
2063 if (owners[p] == rank) { in DMPlexDistributionLoad_HDF5_Private()
2105 PetscCall(ISRestoreIndices(ownersIS, &owners)); in DMPlexDistributionLoad_HDF5_Private()
2975 PetscSFNode *owners, *buffer; in DMPlexSectionLoad_HDF5_Internal() local
2996 PetscCall(PetscMalloc1(n, &owners)); in DMPlexSectionLoad_HDF5_Internal()
2999 owners[i].rank = rank; in DMPlexSectionLoad_HDF5_Internal()
3000 owners[i].index = i; in DMPlexSectionLoad_HDF5_Internal()
3006 PetscCall(PetscSFReduceBegin(sfXA, MPIU_SF_NODE, owners, buffer, MPI_MAXLOC)); in DMPlexSectionLoad_HDF5_Internal()
3007 PetscCall(PetscSFReduceEnd(sfXA, MPIU_SF_NODE, owners, buffer, MPI_MAXLOC)); in DMPlexSectionLoad_HDF5_Internal()
3009 PetscCall(PetscFree(owners)); in DMPlexSectionLoad_HDF5_Internal()