Lines Matching refs:colidx

177     PetscCall(MatSeqXSELLFreeSELL(B, &b->val, &b->colidx));  in MatSeqSELLSetPreallocation_SeqSELL()
179 PetscCall(PetscMalloc2(b->sliidx[totalslices], &b->val, b->sliidx[totalslices], &b->colidx)); in MatSeqSELLSetPreallocation_SeqSELL()
216 for (j = 0; j < a->rlen[row]; j++) a->getrowcols[j] = a->colidx[shift + a->sliceheight * j]; in MatGetRow_SeqSELL()
327 const PetscInt *acolidx = a->colidx; in MatMult_SeqSELL()
542 const PetscInt *acolidx = a->colidx; in MatMultAdd_SeqSELL()
719 const PetscInt *acolidx = a->colidx; in MatMultTransposeAdd_SeqSELL()
790 if (a->colidx[shift + a->sliceheight * j] == i) { in MatGetDiagonalMarkers_SeqSELL()
812 if (a->colidx[shift + a->sliceheight * j] == i) { in MatGetDiagonalMarkers_SeqSELL()
893 PetscCall(MatSeqXSELLFreeSELL(A, &a->val, &a->colidx)); in MatDestroy_SeqSELL()
986 if (a->colidx[shift + a->sliceheight * j] == i) { in MatGetDiagonal_SeqSELL()
1028 if (row < (A->rmap->n % a->sliceheight)) a->val[j] *= r[a->colidx[j]]; in MatDiagonalScale_SeqSELL()
1031 for (j = a->sliidx[i]; j < a->sliidx[i + 1]; j++) a->val[j] *= r[a->colidx[j]]; in MatDiagonalScale_SeqSELL()
1056 cp = a->colidx + shift; /* pointer to the row */ in MatGetValues_SeqSELL()
1111 …wer, "%" PetscInt_FMT " %" PetscInt_FMT " %18.16e %18.16e\n", i + 1, a->colidx[shift + a->slicehe… in MatView_SeqSELL_ASCII()
1113 …intf(viewer, "%" PetscInt_FMT " %" PetscInt_FMT " %18.16e\n", i + 1, a->colidx[shift + a->slicehe… in MatView_SeqSELL_ASCII()
1139 …PetscCall(PetscViewerASCIIPrintf(viewer, " (%" PetscInt_FMT ", %g + %g i)", a->colidx[shift + a->s… in MatView_SeqSELL_ASCII()
1141 …PetscCall(PetscViewerASCIIPrintf(viewer, " (%" PetscInt_FMT ", %g - %g i)", a->colidx[shift + a->s… in MatView_SeqSELL_ASCII()
1143 …PetscCall(PetscViewerASCIIPrintf(viewer, " (%" PetscInt_FMT ", %g) ", a->colidx[shift + a->slicehe… in MatView_SeqSELL_ASCII()
1146 …PetscCall(PetscViewerASCIIPrintf(viewer, " (%" PetscInt_FMT ", %g) ", a->colidx[shift + a->slicehe… in MatView_SeqSELL_ASCII()
1170 if (jcnt < a->rlen[i] && j == a->colidx[shift + a->sliceheight * j]) { in MatView_SeqSELL_ASCII()
1202 …tf(viewer, "%" PetscInt_FMT " %" PetscInt_FMT " %g %g\n", i + fshift, a->colidx[shift + a->slicehe… in MatView_SeqSELL_ASCII()
1204 …rintf(viewer, "%" PetscInt_FMT " %" PetscInt_FMT " %g\n", i + fshift, a->colidx[shift + a->slicehe… in MatView_SeqSELL_ASCII()
1216 …scInt_FMT " %" PetscInt_FMT " %g + %g i\n", a->sliceheight * i + row, a->colidx[j], (double)PetscR… in MatView_SeqSELL_ASCII()
1218 …scInt_FMT " %" PetscInt_FMT " %g - %g i\n", a->sliceheight * i + row, a->colidx[j], (double)PetscR… in MatView_SeqSELL_ASCII()
1220 … %" PetscInt_FMT " %" PetscInt_FMT " %g\n", a->sliceheight * i + row, a->colidx[j], (double)PetscR… in MatView_SeqSELL_ASCII()
1223 … %" PetscInt_FMT " %" PetscInt_FMT " %g\n", a->sliceheight * i + row, a->colidx[j], (double)a->val… in MatView_SeqSELL_ASCII()
1237 …PetscCall(PetscViewerASCIIPrintf(viewer, " (%" PetscInt_FMT ", %g + %g i)", a->colidx[j], (double)… in MatView_SeqSELL_ASCII()
1239 …PetscCall(PetscViewerASCIIPrintf(viewer, " (%" PetscInt_FMT ", %g - %g i)", a->colidx[j], (double)… in MatView_SeqSELL_ASCII()
1241 …PetscCall(PetscViewerASCIIPrintf(viewer, " (%" PetscInt_FMT ", %g) ", a->colidx[j], (double)PetscR… in MatView_SeqSELL_ASCII()
1244 …PetscCall(PetscViewerASCIIPrintf(viewer, " (%" PetscInt_FMT ", %g) ", a->colidx[j], (double)a->val… in MatView_SeqSELL_ASCII()
1251 …PetscCall(PetscViewerASCIIPrintf(viewer, " (%" PetscInt_FMT ", %g + %g i)", a->colidx[j], (double)… in MatView_SeqSELL_ASCII()
1253 …PetscCall(PetscViewerASCIIPrintf(viewer, " (%" PetscInt_FMT ", %g - %g i)", a->colidx[j], (double)… in MatView_SeqSELL_ASCII()
1255 …PetscCall(PetscViewerASCIIPrintf(viewer, " (%" PetscInt_FMT ", %g) ", a->colidx[j], (double)PetscR… in MatView_SeqSELL_ASCII()
1258 …PetscCall(PetscViewerASCIIPrintf(viewer, " (%" PetscInt_FMT ", %g) ", a->colidx[j], (double)(1 / a… in MatView_SeqSELL_ASCII()
1265 …PetscCall(PetscViewerASCIIPrintf(viewer, " (%" PetscInt_FMT ", %g + %g i)", a->colidx[j], (double)… in MatView_SeqSELL_ASCII()
1267 …PetscCall(PetscViewerASCIIPrintf(viewer, " (%" PetscInt_FMT ", %g - %g i)", a->colidx[j], (double)… in MatView_SeqSELL_ASCII()
1269 …PetscCall(PetscViewerASCIIPrintf(viewer, " (%" PetscInt_FMT ", %g) ", a->colidx[j], (double)PetscR… in MatView_SeqSELL_ASCII()
1272 …PetscCall(PetscViewerASCIIPrintf(viewer, " (%" PetscInt_FMT ", %g) ", a->colidx[j], (double)a->val… in MatView_SeqSELL_ASCII()
1284 …PetscCall(PetscViewerASCIIPrintf(viewer, " (%" PetscInt_FMT ", %g + %g i)", a->colidx[shift + a->s… in MatView_SeqSELL_ASCII()
1286 …PetscCall(PetscViewerASCIIPrintf(viewer, " (%" PetscInt_FMT ", %g - %g i)", a->colidx[shift + a->s… in MatView_SeqSELL_ASCII()
1288 …PetscCall(PetscViewerASCIIPrintf(viewer, " (%" PetscInt_FMT ", %g) ", a->colidx[shift + a->slicehe… in MatView_SeqSELL_ASCII()
1291 …PetscCall(PetscViewerASCIIPrintf(viewer, " (%" PetscInt_FMT ", %g) ", a->colidx[shift + a->slicehe… in MatView_SeqSELL_ASCII()
1330 x_l = a->colidx[shift + a->sliceheight * j]; in MatView_SeqSELL_Draw_Zoom()
1342 x_l = a->colidx[shift + a->sliceheight * j]; in MatView_SeqSELL_Draw_Zoom()
1354 x_l = a->colidx[shift + a->sliceheight * j]; in MatView_SeqSELL_Draw_Zoom()
1380 x_l = a->colidx[shift + a->sliceheight * j]; in MatView_SeqSELL_Draw_Zoom()
1455 …cp = PetscSafePointerPlusOffset(a->colidx, shift); /* pointer to the column i… in MatAssemblyEnd_SeqSELL()
1550 cp = a->colidx + shift; /* pointer to the row */ in MatSetValues_SeqSELL()
1592 …, 1, nrow, a->sliidx, a->sliceheight, row / a->sliceheight, row, col, a->colidx, a->val, cp, vp, n… in MatSetValues_SeqSELL()
1595 …, 1, nrow, a->sliidx, a->sliceheight, row / a->sliceheight, row, col, a->colidx, a->val, cp, vp, n… in MatSetValues_SeqSELL()
1718 …for (j = 0; j < n; j++) sum -= a->val[shift + a->sliceheight * j] * x[a->colidx[shift + a->slicehe… in MatSOR_SeqSELL()
1730 …for (j = 1; j <= n; j++) sum -= a->val[diag[i] + a->sliceheight * j] * x[a->colidx[diag[i] + a->sl… in MatSOR_SeqSELL()
1748 …for (j = 0; j < n; j++) sum -= a->val[shift + a->sliceheight * j] * x[a->colidx[shift + a->slicehe… in MatSOR_SeqSELL()
1752 …for (j = 1; j <= n; j++) sum -= a->val[diag[i] + a->sliceheight * j] * x[a->colidx[diag[i] + a->sl… in MatSOR_SeqSELL()
1765 …for (j = 0; j < n; j++) sum -= a->val[shift + a->sliceheight * j] * x[a->colidx[shift + a->slicehe… in MatSOR_SeqSELL()
1769 …for (j = 1; j <= n; j++) sum -= a->val[diag[i] + a->sliceheight * j] * x[a->colidx[diag[i] + a->sl… in MatSOR_SeqSELL()
2246 PetscCall(PetscMalloc2(a->maxallocmat, &c->val, a->maxallocmat, &c->colidx)); in MatDuplicateNoCreate_SeqSELL()
2251 PetscCall(PetscArraycpy(c->colidx, a->colidx, a->maxallocmat)); in MatDuplicateNoCreate_SeqSELL()
2408 PetscCall(PetscArraycmp(a->colidx, b->colidx, a->sliidx[totalslices], flg)); in MatEqual_SeqSELL()