petsc-3.4.5 2014-06-29

PetscSFRestoreWindow

Restores a window obtained with PetscSFGetWindow()

Synopsis

#include "petscsf.h" 
static PetscErrorCode PetscSFRestoreWindow(PetscSF sf,MPI_Datatype unit,const void *array,PetscBool epoch,PetscMPIInt fenceassert,MPI_Win *win)
Collective

Input Arguments

sf - star forest
unit - data type
array - array associated with window
epoch - close an epoch, must match argument to PetscSFGetWindow()
win - window

See Also

PetscSFFindWindow()

Level:developer
Location:
src/vec/is/sf/impls/window/sfwindow.c
Index of all PetscSF routines
Table of Contents for all manual pages
Index of all manual pages