:orphan: # PetscSFWindowGetDataTypes gets composite local and remote data types for each rank ## Synopsis ``` #include "petscsf.h" static PetscErrorCode PetscSFWindowGetDataTypes(PetscSF sf, MPI_Datatype unit, const MPI_Datatype **localtypes, const MPI_Datatype **remotetypes) ``` Not Collective ## Input Parameters - ***sf -*** star forest of type `PETSCSFWINDOW` - ***unit -*** data type for each node ## Output Parameters - ***localtypes -*** types describing part of local leaf buffer referencing each remote rank - ***remotetypes -*** types describing part of remote root buffer referenced for each remote rank ## See Also `PetscSF`, `PETSCSFWINDOW`, `PetscSFSetGraph()`, `PetscSFView()` ## Level developer ## Location src/vec/is/sf/impls/window/sfwindow.c --- [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)