Searched refs:bufc (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/mat/interface/ |
| H A D | matrix.c | 2101 PetscInt buf[8192], *bufr = NULL, *bufc = NULL, *iidxm, *iidxn; in MatSetValuesBlocked() local 2109 PetscCall(PetscMalloc2(m * bs, &bufr, n * cbs, &bufc)); in MatSetValuesBlocked() 2111 iidxn = bufc; in MatSetValuesBlocked() 2122 PetscCall(PetscFree2(bufr, bufc)); in MatSetValuesBlocked() 2231 PetscInt buf[8192], *bufr = NULL, *bufc = NULL, *irowm, *icolm; in MatGetValuesLocal() local 2236 PetscCall(PetscMalloc2(nrow, &bufr, ncol, &bufc)); in MatGetValuesLocal() 2238 icolm = bufc; in MatGetValuesLocal() 2245 PetscCall(PetscFree2(bufr, bufc)); in MatGetValuesLocal() 2478 PetscInt buf[8192], *bufr = NULL, *bufc = NULL; in MatSetValuesLocal() local 2483 bufc = buf + nrow; in MatSetValuesLocal() [all …]
|
| /petsc/src/ksp/pc/impls/bddc/ |
| H A D | bddcprivate.c | 4125 PetscInt buf[8192], *bufc = NULL; in MatSetValuesSubMat() local 4136 bufc = buf; in MatSetValuesSubMat() 4138 PetscCall(PetscMalloc1(nc, &bufc)); in MatSetValuesSubMat() 4145 for (PetscInt j = 0; j < nci; j++) bufc[j] = cols[jj[ii[i] + j]]; in MatSetValuesSubMat() 4146 PetscCall(MatSetValues(A, 1, rows + i, nci, bufc, a + ii[i], imode)); in MatSetValuesSubMat() 4151 if (freeb) PetscCall(PetscFree(bufc)); in MatSetValuesSubMat()
|