Home
last modified time | relevance | path

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

/petsc/src/dm/impls/stag/
H A Dstag2d.c227 const PetscInt Ni = stag->N[i], nRanksi = stag->nRanks[i]; in DMSetUp_Stag_2d() local
229 for (j = 0; j < stag->nRanks[i]; ++j) stag->l[i][j] = Ni / nRanksi + ((Ni % nRanksi) > j); in DMSetUp_Stag_2d()
H A Dstag3d.c319 const PetscInt Ni = stag->N[i], nRanksi = stag->nRanks[i]; in DMSetUp_Stag_3d() local
321 for (j = 0; j < stag->nRanks[i]; ++j) stag->l[i][j] = Ni / nRanksi + ((Ni % nRanksi) > j); in DMSetUp_Stag_3d()