Home
last modified time | relevance | path

Searched refs:targetSection (Results 1 – 11 of 11) sorted by relevance

/petsc/src/dm/partitioner/tests/
H A Dex33.c8 PetscSection partSection, vertexSection = NULL, targetSection = NULL; in main() local
44 PetscCall(PetscSectionCreate(PETSC_COMM_WORLD, &targetSection)); in main()
45 PetscCall(PetscSectionSetChart(targetSection, 0, nparts)); in main()
46 for (i = 0; i < nparts; i++) PetscCall(PetscSectionSetDof(targetSection, i, 1)); in main()
47 PetscCall(PetscSectionSetUp(targetSection)); in main()
73 …PetscCall(PetscPartitionerPartition(p, nparts, 0, NULL, NULL, vertexSection, NULL, targetSection, … in main()
87 …PetscCall(PetscPartitionerPartition(p, nparts, nv, vv, vadj, vertexSection, NULL, targetSection, p… in main()
89 …scPartitionerPartition(p, nparts, 0, NULL, NULL, vertexSection, NULL, targetSection, partSection, … in main()
104 …PetscCall(PetscPartitionerPartition(p, nparts, 0, NULL, NULL, NULL, NULL, targetSection, partSecti… in main()
113 …PetscCall(PetscPartitionerPartition(p, nparts, nv, vv, pvadj, NULL, NULL, targetSection, partSecti… in main()
[all …]
/petsc/src/dm/partitioner/interface/
H A Dpartitioner.c302 …], PetscSection vertexSection, PetscSection edgeSection, PetscSection targetSection, PetscSection … in PetscPartitionerPartition() argument
328 if (targetSection) { in PetscPartitionerPartition()
331 PetscValidHeaderSpecific(targetSection, PETSC_SECTION_CLASSID, 8); in PetscPartitionerPartition()
332 PetscCall(PetscSectionGetChart(targetSection, &s, &e)); in PetscPartitionerPartition()
343 …n, nparts, numVertices, start, adjacency, vertexSection, edgeSection, targetSection, partSection, … in PetscPartitionerPartition()
/petsc/src/dm/partitioner/impls/simple/
H A Dpartsimple.c44 …start[], PetscInt adjacency[], PetscSection vertSection, PetscSection targetSection, PetscSection … in PetscPartitionerPartition_Simple_Grid() argument
56 …if (targetSection) PetscCall(PetscInfo(part, "PETSCPARTITIONERSIMPLE ignores partition weights whe… in PetscPartitionerPartition_Simple_Grid()
117 …y[], PetscSection vertSection, PetscSection edgeSection, PetscSection targetSection, PetscSection … in PetscPartitionerPartition_Simple() argument
126 …Simple_Grid(part, nparts, numVertices, start, adjacency, vertSection, targetSection, partSection, … in PetscPartitionerPartition_Simple()
132 if (targetSection) { in PetscPartitionerPartition_Simple()
136 PetscCall(PetscSectionGetDof(targetSection, np, &tpwgts[np])); in PetscPartitionerPartition_Simple()
/petsc/src/dm/partitioner/impls/matpart/
H A Dpartmatpart.c88 …y[], PetscSection vertSection, PetscSection edgeSection, PetscSection targetSection, PetscSection … in PetscPartitionerPartition_MatPartitioning() argument
119 if (targetSection) { in PetscPartitionerPartition_MatPartitioning()
128 PetscCall(PetscSectionGetDof(targetSection, p, &tpd)); in PetscPartitionerPartition_MatPartitioning()
/petsc/src/dm/partitioner/impls/gather/
H A Dpartgather.c14 …y[], PetscSection vertSection, PetscSection edgeSection, PetscSection targetSection, PetscSection … in PetscPartitionerPartition_Gather() argument
/petsc/src/dm/partitioner/impls/parmetis/
H A Dpartparmetis.c78 …y[], PetscSection vertSection, PetscSection edgeSection, PetscSection targetSection, PetscSection … in PetscPartitionerPartition_ParMetis() argument
119 if (targetSection) { in PetscPartitionerPartition_ParMetis()
126 PetscCall(PetscSectionGetDof(targetSection, p, &tpd)); in PetscPartitionerPartition_ParMetis()
/petsc/src/dm/partitioner/impls/ptscotch/
H A Dpartptscotch.c202 …y[], PetscSection vertSection, PetscSection edgeSection, PetscSection targetSection, PetscSection … in PetscPartitionerPartition_PTScotch() argument
248 if (targetSection) { in PetscPartitionerPartition_PTScotch()
253 PetscCall(PetscSectionGetDof(targetSection, p, &tpwgts[p])); in PetscPartitionerPartition_PTScotch()
/petsc/src/dm/partitioner/impls/chaco/
H A Dpartchaco.c42 …y[], PetscSection vertSection, PetscSection edgeSection, PetscSection targetSection, PetscSection … in PetscPartitionerPartition_Chaco() argument
/petsc/src/dm/partitioner/impls/shell/
H A Dpartshell.c83 …y[], PetscSection vertSection, PetscSection edgeSection, PetscSection targetSection, PetscSection … in PetscPartitionerPartition_Shell() argument
/petsc/src/dm/impls/plex/
H A Dplexpartition.c745 …PartitionerDMPlexPartition(PetscPartitioner part, DM dm, PetscSection targetSection, PetscSection … in PetscPartitionerDMPlexPartition() argument
754 if (targetSection) PetscValidHeaderSpecific(targetSection, PETSC_SECTION_CLASSID, 3); in PetscPartitionerDMPlexPartition()
855 …(part, size, numVertices, start, adjacency, vertSection, edgeSection, targetSection, partSection, … in PetscPartitionerDMPlexPartition()
/petsc/src/dm/partitioner/impls/multistage/
H A Dmspart.c584 …tion vertSection, PetscSection edgeSection, PETSC_UNUSED PetscSection targetSection, PetscSection … in PetscPartitionerPartition_Multistage() argument