Searched refs:nzo (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/mat/tests/ |
| H A D | ex73.c | 135 PetscInt rstart, i, *nzd, *nzo, nzl, nzmax = 0, *ncols, nrow, j; in main() local 142 PetscCall(PetscCalloc2(2 * m, &nzd, 2 * m, &nzo)); in main() 150 nzo[2 * i] += 2; in main() 151 nzo[2 * i + 1] += 2; in main() 154 nzmax = PetscMax(nzmax, nzd[2 * i] + nzo[2 * i]); in main() 157 …Call(MatCreateAIJ(PETSC_COMM_WORLD, 2 * m, 2 * m, PETSC_DECIDE, PETSC_DECIDE, 0, nzd, 0, nzo, &J)); in main() 159 PetscCall(PetscFree2(nzd, nzo)); in main()
|