Manually setting DA min and max indexes

Milad Fatenejad icksa1 at gmail.com
Thu Oct 22 12:24:36 CDT 2009


Hello:

Is it possible to set the min/max m,n,p indexes when creating a 3D
distributed array? I'm writing a 3D code on a structured mesh, and the
mesh is partitioned among the processes elsewhere. Assuming that each
process already knows what chunk of the mesh it owns, is it possible
to give Petsc this information
when you create a DA so that the partitioning is consistent between
PETSc and the rest of the code?

Thank You
Milad


More information about the petsc-users mailing list