Lines Matching refs:sfB
80 PetscSF sfA, sfB, sfBA, sfAAm, sfBBm, sfAm, sfBm; in main() local
97 PetscCall(PetscSFCreate(PETSC_COMM_WORLD, &sfB)); in main()
99 PetscCall(PetscSFSetFromOptions(sfB)); in main()
146 …PetscCall(PetscSFSetGraph(sfB, nrootsB, nleavesB, ilocalB, PETSC_OWN_POINTER, iremoteB, PETSC_OWN_… in main()
148 PetscCall(PetscSFSetUp(sfB)); in main()
150 PetscCall(PetscObjectSetName((PetscObject)sfB, "sfB")); in main()
152 PetscCall(PetscSFViewFromOptions(sfB, NULL, "-view")); in main()
155 if (test_vector) PetscCall(TestVector(sfB, "sfB")); in main()
158 PetscCall(PetscSFGetLeafRange(sfB, NULL, &mB)); in main()
172 PetscCall(PetscSFBcastBegin(sfB, MPIU_INT, ldA, ldB, MPI_REPLACE)); in main()
173 PetscCall(PetscSFBcastEnd(sfB, MPIU_INT, ldA, ldB, MPI_REPLACE)); in main()
177 PetscCall(PetscSFCompose(sfA, sfB, &sfBA)); in main()
210 PetscCall(PetscSFCreateInverseSF(sfB, &sfBm)); in main()
217 PetscCall(PetscSFComposeInverse(sfB, sfB, &sfBBm)); in main()
219 PetscCall(PetscSFCompose(sfB, sfBm, &sfBBm)); in main()
231 PetscCall(PetscSFDestroy(&sfB)); in main()