Searched refs:new_leafdata (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexsfc.c | 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() [all …]
|