Roc Wang writes:
> I studied some examples for VecScatter. To my understand, the pathway
> of extracting the plane is through extracting indexes (IS idx_to) of
> the 2-D plane from the vector of the 3-D domain(IS idx_from). To do
> this, I have to create an array of index for IS idx_to and create
> From: jedbr...@mcs.anl.gov
> To: pengxw...@hotmail.com; petsc-users@mcs.anl.gov
> Subject: RE: [petsc-users] extract vector for a 2-D plane from a DM vector
> for a 3-D domain
> Date: Wed, 16 Oct 2013 09:59:34 -0500
>
> Roc Wang writes:
> > Is it possible I have
Roc Wang writes:
> Is it possible I have both cases? 1 a few planes in the same
> communicator; 2 many planes to separate communicator.
Yeah, just create the VecScatter however you like.
pgpflLM6MpqKK.pgp
Description: PGP signature
> From: jedbr...@mcs.anl.gov
> To: pengxw...@hotmail.com; petsc-users@mcs.anl.gov
> Subject: Re: [petsc-users] extract vector for a 2-D plane from a DM vector
> for a 3-D domain
> Date: Wed, 16 Oct 2013 09:36:41 -0500
>
> Roc Wang writes:
> > I have a DM and it
Roc Wang writes:
> I have a DM and its vector for a structured 3-D domain and trying
> to extract the data for a 2-D plane. I did some research on the
> manual and noticed there is function named DMSlicedCreate(),
> however, it is for unstructured problem. Is there any ohter
>
Hello,
I have a DM and its vector for a structured 3-D domain and trying to
extract the data for a 2-D plane. I did some research on the manual and
noticed there is function named DMSlicedCreate(), however, it is for
unstructured problem. Is there any ohter function to extract vector for