Searched refs:vertexSection (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/partitioner/tests/ |
| H A D | ex33.c | 8 PetscSection partSection, vertexSection = NULL, targetSection = NULL; in main() local 37 PetscCall(PetscSectionCreate(PETSC_COMM_WORLD, &vertexSection)); in main() 38 PetscCall(PetscSectionSetChart(vertexSection, 0, nv)); in main() 39 for (i = 0; i < nv; i++) PetscCall(PetscSectionSetDof(vertexSection, i, 1)); in main() 40 PetscCall(PetscSectionSetUp(vertexSection)); 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 …PetscCall(PetscPartitionerPartition(p, nparts, 0, NULL, NULL, vertexSection, NULL, targetSection, … in main() 126 PetscCall(PetscSectionDestroy(&vertexSection)); in main()
|
| /petsc/src/dm/partitioner/interface/ |
| H A D | partitioner.c | 302 …Int numVertices, PetscInt start[], PetscInt adjacency[], PetscSection vertexSection, PetscSection … in PetscPartitionerPartition() argument 314 if (vertexSection) { in PetscPartitionerPartition() 317 PetscValidHeaderSpecific(vertexSection, PETSC_SECTION_CLASSID, 6); in PetscPartitionerPartition() 318 PetscCall(PetscSectionGetChart(vertexSection, &s, &e)); in PetscPartitionerPartition() 343 …} else PetscUseTypeMethod(part, partition, nparts, numVertices, start, adjacency, vertexSection, e… in PetscPartitionerPartition()
|