#include "petscsf.h" static PetscErrorCode PetscSFGetWindow(PetscSF sf,MPI_Datatype unit,void *array,PetscBool epoch,PetscMPIInt fenceassert,PetscMPIInt postassert,PetscMPIInt startassert,MPI_Win *win)Collective on PetscSF
sf | - star forest | |
unit | - data type | |
array | - array to be sent | |
epoch | - PETSC_TRUE to acquire the window and start an epoch, PETSC_FALSE to just acquire the window | |
fenceassert | - assert parameter for call to MPI_Win_fence(), if PETSCSF_WINDOW_SYNC_FENCE | |
postassert | - assert parameter for call to MPI_Win_post(), if PETSCSF_WINDOW_SYNC_ACTIVE | |
startassert | - assert parameter for call to MPI_Win_start(), if PETSCSF_WINDOW_SYNC_ACTIVE |