> On Dec 2, 2018, at 2:41 PM, Jacob Oest via petsc-users 
> <[email protected]> wrote:
> 
> Dear all,
> 
> I am trying to port some c++ code to python using, and I need the information 
> provided by DMDAGetLocalInfo, i.e.:
> 
> mx,my,mz; global number of grid points in each direction

   DMDAGetInfo()

> xs,ys,zs; starting point of this processor, excluding ghosts
> xm,ym,zm; number of grid points on this processor, excluding ghosts

   DMDAGetCorners()

> gxs,gys,gzs; starting point of this processor including ghosts
> gxm,gym,gzm; number of grid points on this processor including ghosts

   DMDAGetGhostCorners()
> 
> Anyone know how to get all of this information in Python?
> 
> Thx in advance!

Reply via email to