On Oct 3, 2013, at 12:24 PM, Matthew Knepley wrote:
> On Thu, Oct 3, 2013 at 2:07 PM, Randall Mackie wrote:
> I am trying to create a VecScatter that will scatter all the values from a
> horizontal slice of a 3D DMDA global vector (with dof=3) to a sequential
> vector on every processor. So f
Randy,
Take a look at DMDAGetRay() in src/dm/impls/da/dasub.c (now called
DMDACreateRay()) this takes a row or column from a 2d DADM. You can use the
same kind of approach to get a slice from a 3d DMDA.
Barry
On Oct 3, 2013, at 2:07 PM, Randall Mackie wrote:
> I am trying to cr
On Thu, Oct 3, 2013 at 2:07 PM, Randall Mackie wrote:
> I am trying to create a VecScatter that will scatter all the values from a
> horizontal slice of a 3D DMDA global vector (with dof=3) to a sequential
> vector on every processor. So far I have been unsuccessful, most likely
> because I don't
I am trying to create a VecScatter that will scatter all the values from a
horizontal slice of a 3D DMDA global vector (with dof=3) to a sequential
vector on every processor. So far I have been unsuccessful, most likely
because I don't completely understand how to get the appropriate IS to do
this.