Searched refs:cids (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/dm/impls/forest/p4est/ |
| H A D | pforest.h | 2353 PetscInt *cids = NULL; in DMPforestGetTransferSF_Point() local 2378 PetscCall(PetscMalloc1(pEndF - pStartF, &cids)); in DMPforestGetTransferSF_Point() 2379 PetscCall(PetscArraycpy(cids, pforestC->pointSelfToAdaptCids, pEndF - pStartF)); in DMPforestGetTransferSF_Point() 2380 *childIds = cids; in DMPforestGetTransferSF_Point() 2392 PetscCall(PetscMalloc1(pEndF - pStartF, &cids)); in DMPforestGetTransferSF_Point() 2393 PetscCall(PetscArraycpy(cids, pforestF->pointAdaptToSelfCids, pEndF - pStartF)); in DMPforestGetTransferSF_Point() 2394 *childIds = cids; in DMPforestGetTransferSF_Point() 2521 PetscCall(PetscMalloc1(pEndF - pStartF, &cids)); in DMPforestGetTransferSF_Point() 2522 for (p = pStartF; p < pEndF; p++) cids[p - pStartF] = -2; in DMPforestGetTransferSF_Point() 2572 cids[p - pStartF] = -1; in DMPforestGetTransferSF_Point() [all …]
|
| /petsc/src/ksp/pc/impls/gamg/ |
| H A D | agg.c | 556 PetscInt cids[100]; /* max bs */ in formProl0() local 634 for (kk = 0; kk < N; kk++) cids[kk] = N * cgid + kk; /* global col IDs in P0 */ in formProl0() 635 PetscCall(MatSetValues(a_Prol, M, fids, N, cids, qqr, INSERT_VALUES)); in formProl0()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plextree.c | 3749 …Vec vecCoarseLocal, DM fine, Vec vecFine, PetscSF coarseToFine, PetscInt *cids, Vec grad, Vec cell… in DMPlexTransferVecTree_Interpolate() argument 3807 PetscCall(PetscSFReduceBegin(coarseToFineEmbedded, MPIU_INT, cids, maxChildIds, MPIU_MAX)); in DMPlexTransferVecTree_Interpolate() 3808 PetscCall(PetscSFReduceEnd(coarseToFineEmbedded, MPIU_INT, cids, maxChildIds, MPIU_MAX)); in DMPlexTransferVecTree_Interpolate() 3984 childId = cids[p - pStartF]; in DMPlexTransferVecTree_Interpolate() 4059 …ecTree_Inject(DM fine, Vec vecFine, DM coarse, Vec vecCoarse, PetscSF coarseToFine, PetscInt *cids) in DMPlexTransferVecTree_Inject() argument 4099 …PetscCall(DMPlexTransferInjectorTree(coarse, fine, coarseToFine, cids, vecFine, numFields, offsets… in DMPlexTransferVecTree_Inject()
|
| /petsc/src/ksp/pc/impls/bddc/ |
| H A D | bddcprivate.c | 2575 PetscInt *ids, cum, cump, *cids, *pids; in PCBDDCDetectDisconnectedComponents() local 2585 PetscCall(PetscMalloc3(A->rmap->n, &ids, graph->ncc + 1, &cids, A->rmap->n, &pids)); in PCBDDCDetectDisconnectedComponents() 2644 cids[0] = 0; in PCBDDCDetectDisconnectedComponents() 2680 cids[i + 1] = cum; in PCBDDCDetectDisconnectedComponents() 2682 for (j = cids[i]; j < cids[i + 1]; j++) PetscCall(PetscBTSet(btv, ids[j])); in PCBDDCDetectDisconnectedComponents() 2686 …graph->ncc; i++) PetscCall(ISCreateGeneral(PETSC_COMM_SELF, cids[i + 1] - cids[i], ids + cids[i], … in PCBDDCDetectDisconnectedComponents() 2690 PetscCall(PetscFree3(ids, cids, pids)); in PCBDDCDetectDisconnectedComponents()
|