Home
last modified time | relevance | path

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

/petsc/src/mat/impls/is/
H A Dmatis.c1857 const PetscInt *ridxs, *cidxs; in MatConvert_IS_XAIJ() local
1877 PetscCall(ISLocalToGlobalMappingGetBlockIndices(matis->cmapping, &cidxs)); in MatConvert_IS_XAIJ()
1881 for (i = 0; i < nw; i++) PetscCall(PetscBTSet(work, cidxs[i])); in MatConvert_IS_XAIJ()
1885 PetscCall(ISCreateBlock(PETSC_COMM_SELF, cbs, nw, cidxs, PETSC_USE_POINTER, &cols)); in MatConvert_IS_XAIJ()
1890 PetscCall(ISLocalToGlobalMappingRestoreBlockIndices(matis->cmapping, &cidxs)); in MatConvert_IS_XAIJ()
2989 const PetscInt *ridxs, *cidxs, *zridxs, *zcidxs; in MatAssemblyEnd_IS() local
2996 PetscCall(ISLocalToGlobalMappingGetIndices(is->cmapping, &cidxs)); in MatAssemblyEnd_IS()
3005 PetscCall(PetscArraycpy(nidxs, cidxs, nc)); in MatAssemblyEnd_IS()
3012 PetscCall(ISLocalToGlobalMappingRestoreIndices(is->cmapping, &cidxs)); in MatAssemblyEnd_IS()
/petsc/src/ksp/pc/impls/bddc/
H A Dbddcprivate.c4341 const PetscInt *cidxs = pcbddc->primal_indices_local_idxs + n_vertices; in PCBDDCSetUpCorrection() local
4355 PetscInt s = 2 * graph->nodes[cidxs[i]].local_sub + 1; in PCBDDCSetUpCorrection()
4369 PetscInt s = 2 * graph->nodes[cidxs[i]].local_sub; in PCBDDCSetUpCorrection()
4396 const PetscInt e = graph->nodes[cidxs[i]].local_sub; in PCBDDCSetUpCorrection()