Home
last modified time | relevance | path

Searched refs:lenI (Results 1 – 2 of 2) sorted by relevance

/petsc/src/ksp/pc/impls/telescope/
H A Dtelescope_dmda.c495 PetscInt i, j, k, location, startI[3], endI[3], lenI[3], nx, ny, nz; in PCTelescopeSetUp_dmda_permutation_3d() local
520 PetscCall(DMDAGetCorners(dm, NULL, NULL, NULL, &lenI[0], &lenI[1], &lenI[2])); 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
589 PetscCall(DMDAGetCorners(dm, NULL, NULL, NULL, &lenI[0], &lenI[1], NULL)); in PCTelescopeSetUp_dmda_permutation_2d()
601 location = (i - startI[0]) + (j - startI[1]) * lenI[0]; in PCTelescopeSetUp_dmda_permutation_2d()
/petsc/src/ksp/ksp/tutorials/
H A Dex73.c172 PetscInt i, j, location, startI[2], endI[2], lenI[2]; in DMDACreatePermutation_2d() local
235 PetscCall(DMDAGetCorners(dmf, NULL, NULL, NULL, &lenI[0], &lenI[1], NULL)); in DMDACreatePermutation_2d()
247 location = (i - startI[0]) + (j - startI[1]) * lenI[0]; in DMDACreatePermutation_2d()