Home
last modified time | relevance | path

Searched refs:new_face_sfs (Results 1 – 1 of 1) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexsfc.c1008 PetscSF sf_point, *new_face_sfs; in DMPlexMigrateIsoperiodicFaceSF_Internal() local
1015 PetscCall(PetscMalloc1(plex->periodic.num_face_sfs, &new_face_sfs)); in DMPlexMigrateIsoperiodicFaceSF_Internal()
1068 PetscCall(PetscSFCreate(PetscObjectComm((PetscObject)dm), &new_face_sfs[f])); in DMPlexMigrateIsoperiodicFaceSF_Internal()
1069 …PetscCall(PetscSFSetGraph(new_face_sfs[f], new_npoints, nface, new_local, PETSC_OWN_POINTER, new_r… in DMPlexMigrateIsoperiodicFaceSF_Internal()
1073 PetscCall(PetscObjectSetName((PetscObject)new_face_sfs[f], new_face_sf_name)); in DMPlexMigrateIsoperiodicFaceSF_Internal()
1077 PetscCall(DMPlexSetIsoperiodicFaceSF(dm, plex->periodic.num_face_sfs, new_face_sfs)); in DMPlexMigrateIsoperiodicFaceSF_Internal()
1079 …for (PetscInt f = 0; f < plex->periodic.num_face_sfs; f++) PetscCall(PetscSFDestroy(&new_face_sfs[… in DMPlexMigrateIsoperiodicFaceSF_Internal()
1080 PetscCall(PetscFree(new_face_sfs)); in DMPlexMigrateIsoperiodicFaceSF_Internal()