[petsc-users] How to get processes layout from already created DMDA object?
Peter Brune
prbrune at gmail.com
Wed Sep 25 10:12:01 CDT 2013
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 <petr.kotas at gmail.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130925/0b2d30cd/attachment.html>
More information about the petsc-users
mailing list