Lines Matching refs:rootdata
438 PetscInt *rootdata, *leafdata; in CreateDonorToPeriodicSF() local
447 PetscCall(PetscCalloc2(2 * nroots, &rootdata, 2 * nroots, &leafdata)); in CreateDonorToPeriodicSF()
453 PetscCall(PetscSFReduceBegin(face_sf, MPIU_INT, leafdata, rootdata + nroots, MPIU_SUM)); in CreateDonorToPeriodicSF()
454 PetscCall(PetscSFReduceEnd(face_sf, MPIU_INT, leafdata, rootdata + nroots, MPIU_SUM)); in CreateDonorToPeriodicSF()
459 const PetscInt *donor_dof = rootdata + nroots; in CreateDonorToPeriodicSF()
461 rootdata[2 * p] = -1; in CreateDonorToPeriodicSF()
462 rootdata[2 * p + 1] = -1; in CreateDonorToPeriodicSF()
469 rootdata[2 * p] = root_offset; in CreateDonorToPeriodicSF()
470 rootdata[2 * p + 1] = p_size; in CreateDonorToPeriodicSF()
473 PetscCall(PetscSFBcastBegin(face_sf, MPIU_2INT, rootdata, leafdata, MPI_REPLACE)); in CreateDonorToPeriodicSF()
474 PetscCall(PetscSFBcastEnd(face_sf, MPIU_2INT, rootdata, leafdata, MPI_REPLACE)); in CreateDonorToPeriodicSF()
501 PetscCall(PetscFree2(rootdata, leafdata)); in CreateDonorToPeriodicSF()
1019 PetscSFNode *new_leafdata, *rootdata, *leafdata; in DMPlexMigrateIsoperiodicFaceSF_Internal() local
1027 …PetscCall(PetscMalloc3(old_npoints, &rootdata, old_npoints, &leafdata, new_npoints, &new_leafdata)… 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()
1048 …PetscCall(PetscSFBcastBegin(plex->periodic.face_sfs[f], MPIU_SF_NODE, rootdata, leafdata, MPI_REPL… in DMPlexMigrateIsoperiodicFaceSF_Internal()
1049 …PetscCall(PetscSFBcastEnd(plex->periodic.face_sfs[f], MPIU_SF_NODE, rootdata, leafdata, MPI_REPLAC… in DMPlexMigrateIsoperiodicFaceSF_Internal()
1067 PetscCall(PetscFree3(rootdata, leafdata, new_leafdata)); in DMPlexMigrateIsoperiodicFaceSF_Internal()