Searched refs:subrow (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/ksp/pc/impls/hmg/ |
| H A D | hmg.c | 36 PetscInt subrow, row, nz, *d_nnz, *o_nnz, i, j, dnz, onz, max_nz, *indices; in PCHMGExpandInterpolation_Private() local 51 for (subrow = subrstart; subrow < subrend; subrow++) { in PCHMGExpandInterpolation_Private() 52 PetscCall(MatGetRow(subinterp, subrow, &nz, &idx, NULL)); in PCHMGExpandInterpolation_Private() 61 d_nnz[(subrow - subrstart) * blocksize + i] = dnz; in PCHMGExpandInterpolation_Private() 62 o_nnz[(subrow - subrstart) * blocksize + i] = onz; in PCHMGExpandInterpolation_Private() 64 PetscCall(MatRestoreRow(subinterp, subrow, &nz, &idx, NULL)); in PCHMGExpandInterpolation_Private() 75 for (subrow = subrstart; subrow < subrend; subrow++) { in PCHMGExpandInterpolation_Private() 76 PetscCall(MatGetRow(subinterp, subrow, &nz, &idx, &values)); in PCHMGExpandInterpolation_Private() 78 row = subrow * blocksize + i; in PCHMGExpandInterpolation_Private() 82 PetscCall(MatRestoreRow(subinterp, subrow, &nz, &idx, &values)); in PCHMGExpandInterpolation_Private()
|