Searched refs:startI (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/ksp/pc/impls/telescope/ |
| H A D | telescope_dmda.c | 495 PetscInt i, j, k, location, startI[3], endI[3], lenI[3], nx, ny, nz; in PCTelescopeSetUp_dmda_permutation_3d() local 521 PetscCall(DMDAGetCorners(dm, &startI[0], &startI[1], &startI[2], &endI[0], &endI[1], &endI[2])); in PCTelescopeSetUp_dmda_permutation_3d() 522 endI[0] += startI[0]; in PCTelescopeSetUp_dmda_permutation_3d() 523 endI[1] += startI[1]; in PCTelescopeSetUp_dmda_permutation_3d() 524 endI[2] += startI[2]; in PCTelescopeSetUp_dmda_permutation_3d() 526 for (k = startI[2]; k < endI[2]; k++) { in PCTelescopeSetUp_dmda_permutation_3d() 527 for (j = startI[1]; j < endI[1]; j++) { in PCTelescopeSetUp_dmda_permutation_3d() 528 for (i = startI[0]; i < endI[0]; i++) { in PCTelescopeSetUp_dmda_permutation_3d() 534 … location = (i - startI[0]) + (j - startI[1]) * lenI[0] + (k - startI[2]) * lenI[0] * lenI[1]; in PCTelescopeSetUp_dmda_permutation_3d() 566 PetscInt i, j, location, startI[2], endI[2], lenI[2], nx, ny, nz; in PCTelescopeSetUp_dmda_permutation_2d() local [all …]
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex73.c | 172 PetscInt i, j, location, startI[2], endI[2], lenI[2]; in DMDACreatePermutation_2d() local 236 PetscCall(DMDAGetCorners(dmf, &startI[0], &startI[1], NULL, &endI[0], &endI[1], NULL)); in DMDACreatePermutation_2d() 237 endI[0] += startI[0]; in DMDACreatePermutation_2d() 238 endI[1] += startI[1]; in DMDACreatePermutation_2d() 240 for (j = startI[1]; j < endI[1]; j++) { in DMDACreatePermutation_2d() 241 for (i = startI[0]; i < endI[0]; i++) { in DMDACreatePermutation_2d() 247 location = (i - startI[0]) + (j - startI[1]) * lenI[0]; in DMDACreatePermutation_2d()
|