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