Lines Matching refs:nleavesalloc

40   PetscInt     i, bs = 2, nroots, nrootsalloc, nleaves, nleavesalloc, *mine, stride;  in main()  local
113 nleavesalloc = size; in main()
124 nleavesalloc = nleaves * stride; in main()
162 nleavesalloc *= bs; in main()
175 PetscCall(PetscMalloc2(nrootsalloc, &rootdata, nleavesalloc, &leafdata)); in main()
180 for (i = 0; i < nleavesalloc; i++) leafdata[i] = -1; in main()
192 PetscCall(PetscIntView(nleavesalloc, leafdata, PETSC_VIEWER_STDOUT_WORLD)); in main()
200 PetscCall(PetscMalloc2(nrootsalloc, &rootdata, nleavesalloc, &leafdata)); in main()
205 for (i = 0; i < nleavesalloc; i++) leafdata[i] = '?'; in main()
225 for (i = 0; i < nleavesalloc; i++) { in main()
239 PetscCall(PetscMalloc2(nrootsalloc, &rootdata, nleavesalloc, &leafdata)); in main()
244 for (i = 0; i < nleavesalloc; i++) leafdata[i] = -10 * (rank + 1) - i; in main()
246 PetscCall(PetscIntView(nleavesalloc, leafdata, PETSC_VIEWER_STDOUT_WORLD)); in main()
253 PetscCall(PetscIntView(nleavesalloc, leafdata, PETSC_VIEWER_STDOUT_WORLD)); in main()
259 PetscCall(PetscMalloc2(nrootsalloc, &rootdata, nleavesalloc, &leafdata)); in main()
264 for (i = 0; i < nleavesalloc; i++) leafdata[i] = -1; in main()
273 PetscCall(PetscIntView(nleavesalloc, leafdata, PETSC_VIEWER_STDOUT_WORLD)); in main()
283 PetscCall(PetscMalloc2(nrootsalloc, &rootdata, nleavesalloc, &leafdata)); in main()
288 for (i = 0; i < nleavesalloc; i++) leafdata[i] = -1; in main()
312 for (i = 0; i < nleavesalloc; i++) { in main()
337 PetscCall(PetscMalloc2(nrootsalloc, &rootdata, nleavesalloc, &leafdata)); in main()
342 for (i = 0; i < nleavesalloc; i++) leafdata[i] = 0; in main()
366 for (i = 0; i < nleavesalloc; i++) { in main()
398 …PetscCall(PetscMalloc3(nleavesalloc, &leafdata, nleavesalloc, &leafupdate, nrootsalloc, &rootdata)… in main()
399 for (i = 0; i < nleavesalloc; i++) leafdata[i] = -1; in main()
408 PetscCall(PetscIntView(nleavesalloc, leafupdate, PETSC_VIEWER_STDOUT_WORLD)); in main()
418 PetscCall(PetscMalloc2(inedges, &indata, nleavesalloc, &outdata)); in main()
419 for (i = 0; i < nleavesalloc; i++) outdata[i] = -1; in main()
434 PetscCall(PetscMalloc2(inedges, &indata, nleavesalloc, &outdata)); in main()
435 for (i = 0; i < nleavesalloc; i++) outdata[i] = -1; in main()
445 PetscCall(PetscIntView(nleavesalloc, outdata, PETSC_VIEWER_STDOUT_WORLD)); in main()