Home
last modified time | relevance | path

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

/petsc/src/vec/is/sf/impls/window/
H A Dsfwindow.c753 PetscSF dynsf_full = NULL; in PetscSFSetUp_Window() local
755 …>flavor == PETSCSF_WINDOW_FLAVOR_DYNAMIC) PetscCall(PetscSFWindowCreateDynamicSF(sf, &dynsf_full)); in PetscSFSetUp_Window()
774 if (!dynsf_full) PetscCall(PetscSFWindowCreateDynamicSF(sf, &dynsf_full)); in PetscSFSetUp_Window()
775 PetscCall(PetscSFBcastBegin(dynsf_full, MPI_INT, &wcommrank, w->wcommranks, MPI_REPLACE)); in PetscSFSetUp_Window()
776 PetscCall(PetscSFBcastEnd(dynsf_full, MPI_INT, &wcommrank, w->wcommranks, MPI_REPLACE)); in PetscSFSetUp_Window()
791 PetscCall(PetscObjectReference((PetscObject)dynsf_full)); in PetscSFSetUp_Window()
792 w->dynsf = dynsf_full; in PetscSFSetUp_Window()
795 PetscCall(PetscSFDestroy(&dynsf_full)); in PetscSFSetUp_Window()