| /petsc/src/dm/partitioner/tests/ |
| H A D | ex33.c | 8 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 D | partitioner.c | 302 …], 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 D | partsimple.c | 44 …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 D | partmatpart.c | 88 …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 D | partgather.c | 14 …y[], PetscSection vertSection, PetscSection edgeSection, PetscSection targetSection, PetscSection … in PetscPartitionerPartition_Gather() argument
|
| /petsc/src/dm/partitioner/impls/parmetis/ |
| H A D | partparmetis.c | 78 …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 D | partptscotch.c | 202 …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 D | partchaco.c | 42 …y[], PetscSection vertSection, PetscSection edgeSection, PetscSection targetSection, PetscSection … in PetscPartitionerPartition_Chaco() argument
|
| /petsc/src/dm/partitioner/impls/shell/ |
| H A D | partshell.c | 83 …y[], PetscSection vertSection, PetscSection edgeSection, PetscSection targetSection, PetscSection … in PetscPartitionerPartition_Shell() argument
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexpartition.c | 745 …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 D | mspart.c | 584 …tion vertSection, PetscSection edgeSection, PETSC_UNUSED PetscSection targetSection, PetscSection … in PetscPartitionerPartition_Multistage() argument
|