Home
last modified time | relevance | path

Searched refs:pids (Results 1 – 2 of 2) sorted by relevance

/petsc/src/dm/impls/swarm/
H A Dswarm.c2552 PetscInt *pids, particles, dim; in DMSwarmGetCellSwarm() local
2565 PetscCall(DMSwarmSortGetPointsPerCell(sw, cellID, &particles, &pids)); in DMSwarmGetCellSwarm()
2566 …PetscCall(DMSwarmDataBucketCreateFromSubset(original->db, particles, pids, &((DM_Swarm *)cellswarm… in DMSwarmGetCellSwarm()
2568 PetscCall(DMSwarmSortRestorePointsPerCell(sw, cellID, &particles, &pids)); in DMSwarmGetCellSwarm()
2601 PetscInt *pids, particles, p; in DMSwarmRestoreCellSwarm() local
2605 PetscCall(DMSwarmSortGetPointsPerCell(sw, cellID, &particles, &pids)); in DMSwarmRestoreCellSwarm()
2608 …mDataBucketCopyPoint(((DM_Swarm *)cellswarm->data)->db, pids[p], ((DM_Swarm *)sw->data)->db, pids[… in DMSwarmRestoreCellSwarm()
2612 PetscCall(DMSwarmSortRestorePointsPerCell(sw, cellID, &particles, &pids)); in DMSwarmRestoreCellSwarm()
/petsc/src/ksp/pc/impls/bddc/
H A Dbddcprivate.c2575 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()
2661 if (PetscBTLookup(btvc, p - pStart)) pids[cump++] = off + s; /* subdomain corner */ in PCBDDCDetectDisconnectedComponents()
2663 else pids[cump++] = off + s; /* cross-vertex */ in PCBDDCDetectDisconnectedComponents()
2672 if (PetscBTLookup(btvc, pp - pStart)) pids[cump++] = off + s; /* subdomain corner */ in PCBDDCDetectDisconnectedComponents()
2674 else pids[cump++] = off + s; /* cross-vertex */ in PCBDDCDetectDisconnectedComponents()
2689 …if (primalv) PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)pc), cump, pids, PETSC_COPY_VA… in PCBDDCDetectDisconnectedComponents()
2690 PetscCall(PetscFree3(ids, cids, pids)); in PCBDDCDetectDisconnectedComponents()