Home
last modified time | relevance | path

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

/petsc/src/ksp/ksp/tutorials/
H A Dex59.c34 PetscInt ipx, ipy, ipz; member
193 if (dd.ipx == 0) { in ComputeSpecialBoundaryIndices()
207 if (dd.ipx == 0) { in ComputeSpecialBoundaryIndices()
219 if (dd.ipx == dd.npx - 1) { in ComputeSpecialBoundaryIndices()
345 if (!dd.pure_neumann && !dd.DBC_zerorows && !dd.ipx) { in ComputeSubdomainMatrix()
372 …if (dd.DBC_zerorows && !dd.ipx) { /* in this case, we need to zero out some of the rows, so use se… in ComputeSubdomainMatrix()
404 if (!dd.pure_neumann && !dd.DBC_zerorows && !dd.ipx) { in ComputeSubdomainMatrix()
643 dd->ipx = rank % dd->npx; in DomainDecomposition()
650 if (dd->ipx < dd->nex % dd->npx) dd->nex_l++; in DomainDecomposition()
671 if (!dd->DBC_zerorows && !dd->ipx) dd->xm_l--; in DomainDecomposition()
[all …]
H A Dex56.c90 const PetscInt ipx = mype % NP, ipy = (mype % (NP * NP)) / NP, ipz = mype / (NP * NP); in main() local
91 const PetscInt Ni0 = ipx * (nn / NP), Nj0 = ipy * (nn / NP), Nk0 = ipz * (nn / NP); in main()
93 const PetscInt NN = nn / NP, id0 = ipz * nn * nn * NN + ipy * nn * NN * NN + ipx * NN * NN * NN; in main()