Lines Matching refs:new_leafdata
1019 PetscSFNode *new_leafdata, *rootdata, *leafdata; in DMPlexMigrateIsoperiodicFaceSF_Internal() local
1027 …etscCall(PetscMalloc3(old_npoints, &rootdata, old_npoints, &leafdata, new_npoints, &new_leafdata)); in DMPlexMigrateIsoperiodicFaceSF_Internal()
1031 new_leafdata[i].rank = rank; in DMPlexMigrateIsoperiodicFaceSF_Internal()
1032 new_leafdata[i].index = i; in DMPlexMigrateIsoperiodicFaceSF_Internal()
1036 new_leafdata[j] = point_remote[i]; in DMPlexMigrateIsoperiodicFaceSF_Internal()
1039 PetscCall(PetscSFReduceBegin(sf_migration, MPIU_SF_NODE, new_leafdata, rootdata, MPI_REPLACE)); in DMPlexMigrateIsoperiodicFaceSF_Internal()
1040 PetscCall(PetscSFReduceEnd(sf_migration, MPIU_SF_NODE, new_leafdata, rootdata, MPI_REPLACE)); in DMPlexMigrateIsoperiodicFaceSF_Internal()
1052 PetscCall(PetscSFBcastBegin(sf_migration, MPIU_SF_NODE, leafdata, new_leafdata, MPI_REPLACE)); in DMPlexMigrateIsoperiodicFaceSF_Internal()
1053 PetscCall(PetscSFBcastEnd(sf_migration, MPIU_SF_NODE, leafdata, new_leafdata, MPI_REPLACE)); in DMPlexMigrateIsoperiodicFaceSF_Internal()
1057 for (PetscInt i = 0; i < new_npoints; i++) nface += (new_leafdata[i].rank >= 0); in DMPlexMigrateIsoperiodicFaceSF_Internal()
1062 if (new_leafdata[i].rank == -1) continue; in DMPlexMigrateIsoperiodicFaceSF_Internal()
1064 new_remote[nface] = new_leafdata[i]; in DMPlexMigrateIsoperiodicFaceSF_Internal()
1067 PetscCall(PetscFree3(rootdata, leafdata, new_leafdata)); in DMPlexMigrateIsoperiodicFaceSF_Internal()