Lines Matching refs:dynsf
11 PetscSF dynsf; member
358 static PetscErrorCode PetscSFWindowCreateDynamicSF(PetscSF sf, PetscSF *dynsf) in PetscSFWindowCreateDynamicSF() argument
368 PetscCall(PetscSFDuplicate(sf, PETSCSF_DUPLICATE_RANKS, dynsf)); in PetscSFWindowCreateDynamicSF()
369 PetscCall(PetscSFSetType(*dynsf, PETSCSFBASIC)); /* break recursion */ in PetscSFWindowCreateDynamicSF()
370 …PetscCall(PetscSFSetGraph(*dynsf, 1, sf->nranks, NULL, PETSC_OWN_POINTER, remotes, PETSC_OWN_POINT… in PetscSFWindowCreateDynamicSF()
388 PetscCheck(w->dynsf, wcomm, PETSC_ERR_ORDER, "Must call PetscSFSetUp()"); in PetscSFWindowAttach()
389 PetscCall(PetscSFGetRootRanks(w->dynsf, &nranks, NULL, NULL, NULL, NULL)); in PetscSFWindowAttach()
392 PetscCall(PetscSFBcastBegin(w->dynsf, MPI_AINT, &winaddr, link->dyn_target_addr, MPI_REPLACE)); in PetscSFWindowAttach()
393 PetscCall(PetscSFBcastEnd(w->dynsf, MPI_AINT, &winaddr, link->dyn_target_addr, MPI_REPLACE)); in PetscSFWindowAttach()
779 PetscCall(PetscSFCreate(w->window_comm, &w->dynsf)); in PetscSFSetUp_Window()
780 PetscCall(PetscSFSetType(w->dynsf, PETSCSFBASIC)); /* break recursion */ in PetscSFSetUp_Window()
786 …PetscCall(PetscSFSetGraph(w->dynsf, 1, sf->nranks, NULL, PETSC_OWN_POINTER, remotes, PETSC_OWN_POI… in PetscSFSetUp_Window()
792 w->dynsf = dynsf_full; in PetscSFSetUp_Window()
794 if (w->dynsf) PetscCall(PetscSFSetUp(w->dynsf)); in PetscSFSetUp_Window()
854 PetscCall(PetscSFDestroy(&w->dynsf)); in PetscSFReset_Window()