1: #pragma once 3: #include <petscsftypes.h> 5: PETSC_INTERN PetscErrorCode PetscSFGetLeafRanks_Allgather(PetscSF, PetscMPIInt *, const PetscMPIInt **, const PetscInt **, const PetscInt **); 6: PETSC_INTERN PetscErrorCode PetscSFSetUp_Allgather(PetscSF);