Lines Matching refs:sf1
732 PetscSF sf1; in PetscSFCreateByMatchingIndices() local
771 PetscCall(PetscSFCreate(comm, &sf1)); in PetscSFCreateByMatchingIndices()
772 PetscCall(PetscSFSetFromOptions(sf1)); in PetscSFCreateByMatchingIndices()
773 …PetscCall(PetscSFSetGraphLayout(sf1, layout, numRootIndices, NULL, PETSC_OWN_POINTER, rootIndices)… in PetscSFCreateByMatchingIndices()
783 PetscCall(PetscSFReduceBegin(sf1, MPIU_SF_NODE, owners, buffer, MPI_MAXLOC)); in PetscSFCreateByMatchingIndices()
784 PetscCall(PetscSFReduceEnd(sf1, MPIU_SF_NODE, owners, buffer, MPI_MAXLOC)); in PetscSFCreateByMatchingIndices()
788 …PetscCall(PetscSFSetGraphLayout(sf1, layout, numLeafIndices, NULL, PETSC_OWN_POINTER, leafIndices)… in PetscSFCreateByMatchingIndices()
791 PetscCall(PetscSFBcastBegin(sf1, MPIU_SF_NODE, buffer, owners, MPI_REPLACE)); in PetscSFCreateByMatchingIndices()
792 PetscCall(PetscSFBcastEnd(sf1, MPIU_SF_NODE, buffer, owners, MPI_REPLACE)); in PetscSFCreateByMatchingIndices()
796 *sfA = sf1; in PetscSFCreateByMatchingIndices()
797 } else PetscCall(PetscSFDestroy(&sf1)); in PetscSFCreateByMatchingIndices()