Searched refs:multi_root_subs (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/ksp/pc/impls/bddc/ |
| H A D | bddcgraph.c | 797 PetscInt n, nmulti, c, *multi_root_subs, *start; in PCBDDCGraphSetUp() local 817 PetscCall(PetscMalloc2(nmulti, &multi_root_subs, n + 1, &start)); in PCBDDCGraphSetUp() 820 PetscCall(PetscSFGatherBegin(sf, MPIU_INT, graph->local_subs, multi_root_subs)); in PCBDDCGraphSetUp() 821 PetscCall(PetscSFGatherEnd(sf, MPIU_INT, graph->local_subs, multi_root_subs)); in PCBDDCGraphSetUp() 831 for (j = 0; j < c; j++) graph->nodes[i].local_groups[j] = multi_root_subs[start[gid] + j]; in PCBDDCGraphSetUp() 835 PetscCall(PetscFree2(multi_root_subs, start)); in PCBDDCGraphSetUp()
|