Searched refs:cpi (Results 1 – 2 of 2) sorted by relevance
32 PetscInt *cpi = NULL, *ridx = NULL, nz, i, row; in MatCheckCompressedRow() local53 PetscCall(PetscMalloc2(nrows + 1, &cpi, nrows, &ridx)); in MatCheckCompressedRow()55 cpi[0] = 0; in MatCheckCompressedRow()59 cpi[row + 1] = ai[i + 1]; /* compressed row pointer */ in MatCheckCompressedRow()64 compressedrow->i = cpi; in MatCheckCompressedRow()
508 cdef PetscInt cpi = asInt(pi)510 CHKERR(DMSwarmCopyPoint(self.dm, cpi, cpj))