Searched refs:dynsf (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/vec/is/sf/impls/window/ |
| H A D | sfwindow.c | 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() [all …]
|