:orphan:
# PetscSFWindowGetSyncType
Get synchronization type for `PetscSF` communication of type `PETSCSFWINDOW` 
## Synopsis
```
#include "petscsf.h" 
PetscErrorCode PetscSFWindowGetSyncType(PetscSF sf, PetscSFWindowSyncType *sync)
```
Logically Collective


## Input Parameter

- ***sf -*** star forest for communication



## Output Parameter

- ***sync -*** synchronization type





## See Also
 `PetscSF`, `PETSCSFWINDOW`, `PetscSFSetFromOptions()`, `PetscSFWindowSetSyncType()`, `PetscSFWindowSyncType`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/is/sf/impls/window/sfwindow.c.html#PetscSFWindowGetSyncType">src/vec/is/sf/impls/window/sfwindow.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/is/sf/impls/window/sfwindow.c.html#PetscSFWindowGetSyncType_Window">PetscSFWindowGetSyncType_Window in src/vec/is/sf/impls/window/sfwindow.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/is/sf/impls/window/sfwindow.c)


[Index of all PetscSF routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
