http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DM/DMDAGetOwnershipRanges.html will give you the ownership ranges in each dimension.
- Peter On Wed, Sep 25, 2013 at 10:08 AM, Petr Kotas <[email protected]> wrote: > Hi guys, > > I have probably an easy question. How do I extract distribution of > processes from already created DM object. Which was created with call to > > ierr = DMDACreate3d(PETSC_COMM_WORLD, boundaryType, boundaryType, > boundaryType, DMDA_STENCIL_BOX, > M[0], M[1], M[2], PETSC_DECIDE, > PETSC_DECIDE, PETSC_DECIDE, dof, stencilSize, > PETSC_NULL, PETSC_NULL, PETSC_NULL, > &da); > > where *boundaryType*, *M[i], dof, stencilSize *are my variables. > > Simply, I would like to to know how PETSC_DECIDE(ed) about the layout. I > need it for my other part of the code. > > Thank You, > Petr Kotas >
