Searched refs:c2r (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/mat/impls/sbaij/seq/ |
| H A D | sbaijfact.c | 1352 PetscInt k, jmin, jmax, *c2r, *il, col, nexti, ili, nz; in MatCholeskyFactorNumeric_SeqSBAIJ_1_NaturalOrdering() local 1361 PetscCall(PetscMalloc3(mbs, &rtmp, mbs, &il, mbs, &c2r)); in MatCholeskyFactorNumeric_SeqSBAIJ_1_NaturalOrdering() 1397 for (i = 0; i < mbs; i++) c2r[i] = mbs; in MatCholeskyFactorNumeric_SeqSBAIJ_1_NaturalOrdering() 1420 i = c2r[k]; /* first row to be added to k_th row */ in MatCholeskyFactorNumeric_SeqSBAIJ_1_NaturalOrdering() 1423 nexti = c2r[i]; /* next row to be added to k_th row */ in MatCholeskyFactorNumeric_SeqSBAIJ_1_NaturalOrdering() 1439 c2r[i] = c2r[j]; in MatCholeskyFactorNumeric_SeqSBAIJ_1_NaturalOrdering() 1440 c2r[j] = i; in MatCholeskyFactorNumeric_SeqSBAIJ_1_NaturalOrdering() 1458 c2r[k] = c2r[i]; in MatCholeskyFactorNumeric_SeqSBAIJ_1_NaturalOrdering() 1459 c2r[i] = k; in MatCholeskyFactorNumeric_SeqSBAIJ_1_NaturalOrdering() 1472 PetscCall(PetscFree3(rtmp, il, c2r)); in MatCholeskyFactorNumeric_SeqSBAIJ_1_NaturalOrdering()
|
| /petsc/src/mat/impls/aij/seq/ |
| H A D | aijfact.c | 1712 PetscInt k, jmin, jmax, *c2r, *il, col, nexti, ili, nz; in MatCholeskyFactorNumeric_SeqAIJ() local 1751 PetscCall(PetscMalloc3(mbs, &rtmp, mbs, &il, mbs, &c2r)); in MatCholeskyFactorNumeric_SeqAIJ() 1756 for (i = 0; i < mbs; i++) c2r[i] = mbs; in MatCholeskyFactorNumeric_SeqAIJ() 1781 i = c2r[k]; /* first row to be added to k_th row */ in MatCholeskyFactorNumeric_SeqAIJ() 1784 nexti = c2r[i]; /* next row to be added to k_th row */ in MatCholeskyFactorNumeric_SeqAIJ() 1800 c2r[i] = c2r[j]; in MatCholeskyFactorNumeric_SeqAIJ() 1801 c2r[j] = i; in MatCholeskyFactorNumeric_SeqAIJ() 1819 c2r[k] = c2r[i]; in MatCholeskyFactorNumeric_SeqAIJ() 1820 c2r[i] = k; in MatCholeskyFactorNumeric_SeqAIJ() 1835 PetscCall(PetscFree3(rtmp, il, c2r)); in MatCholeskyFactorNumeric_SeqAIJ()
|