Home
last modified time | relevance | path

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

/petsc/src/vec/is/sf/impls/window/
H A Dsfwindow.c380 MPI_Comm wcomm; in PetscSFWindowAttach() local
385 wcomm = w->window_comm; in PetscSFWindowAttach()
388 PetscCheck(w->dynsf, wcomm, PETSC_ERR_ORDER, "Must call PetscSFSetUp()"); in PetscSFWindowAttach()
434 MPI_Comm wcomm; in PetscSFGetWindow() local
440 wcomm = w->window_comm; in PetscSFGetWindow()
462 PetscCallMPI(MPIU_Allreduce(matches, all_matches, 2, MPIU_INT, MPI_MAX, wcomm)); in PetscSFGetWindow()
464 PetscCheck(all_matches[0] == all_matches[1], wcomm, PETSC_ERR_ARG_INCOMP, in PetscSFGetWindow()
470 …PetscCheck(!link->inuse, wcomm, PETSC_ERR_ARG_WRONGSTATE, "Communication already in progress on pe… in PetscSFGetWindow()
471 …PetscCheck(!epoch || !link->epoch, wcomm, PETSC_ERR_ARG_WRONGSTATE, "Communication epoch already o… in PetscSFGetWindow()
472 …PetscCheck(bytes == link->bytes, wcomm, PETSC_ERR_ARG_WRONGSTATE, "Wrong data type for persistent … in PetscSFGetWindow()
[all …]