Home
last modified time | relevance | path

Searched refs:etoc (Results 1 – 2 of 2) sorted by relevance

/petsc/src/mat/graphops/color/utils/
H A Dbipartite.c4 PETSC_EXTERN PetscErrorCode MatColoringCreateBipartiteGraph(MatColoring mc, PetscSF *etoc, PetscSF … in MatColoringCreateBipartiteGraph() argument
38 PetscCall(PetscSFCreate(PetscObjectComm((PetscObject)m), etoc)); in MatColoringCreateBipartiteGraph()
41 PetscCall(PetscSFSetGraphLayout(*etoc, m->cmap, nentries, NULL, PETSC_COPY_VALUES, rowleaf)); in MatColoringCreateBipartiteGraph()
42 PetscCall(PetscSFSetFromOptions(*etoc)); in MatColoringCreateBipartiteGraph()
45 PetscCall(PetscLogEventBegin(MATCOLORING_Comm, *etoc, 0, 0, 0)); in MatColoringCreateBipartiteGraph()
46 PetscCall(PetscSFComputeDegreeBegin(*etoc, &coldegrees)); in MatColoringCreateBipartiteGraph()
47 PetscCall(PetscSFComputeDegreeEnd(*etoc, &coldegrees)); in MatColoringCreateBipartiteGraph()
48 PetscCall(PetscLogEventEnd(MATCOLORING_Comm, *etoc, 0, 0, 0)); in MatColoringCreateBipartiteGraph()
54 PetscCall(PetscLogEventBegin(MATCOLORING_Comm, *etoc, 0, 0, 0)); in MatColoringCreateBipartiteGraph()
55 PetscCall(PetscSFGatherBegin(*etoc, MPIU_INT, rowdata, colleaf)); in MatColoringCreateBipartiteGraph()
[all …]
H A Dvalid.c9 PetscSF etor, etoc; in MatColoringTest() local
25 PetscCall(MatColoringCreateBipartiteGraph(mc, &etoc, &etor)); in MatColoringTest()
28 PetscCall(PetscSFGetGraph(etoc, &ncols, &nleafcols, NULL, NULL)); in MatColoringTest()
59 PetscCall(PetscSFReduceBegin(etoc, itype, stateleafrow, statecol, MPI_MAX)); in MatColoringTest()
60 PetscCall(PetscSFReduceEnd(etoc, itype, stateleafrow, statecol, MPI_MAX)); in MatColoringTest()
64 PetscCall(PetscSFComputeDegreeBegin(etoc, &degrees)); in MatColoringTest()
65 PetscCall(PetscSFComputeDegreeEnd(etoc, &degrees)); in MatColoringTest()
94 PetscCall(PetscSFDestroy(&etoc)); in MatColoringTest()