[petsc-users] extract vector for a 2-D plane from a DM vector for a 3-D domain
Jed Brown
jedbrown at mcs.anl.gov
Wed Oct 16 09:36:41 CDT 2013
Roc Wang <pengxwang at hotmail.com> 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
> function to extract vector for a 2-D plane from DM vector for a
> 3-D domain directly?
Create a VecScatter. Do you want to extract many planes to separate
communicators?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131016/cb745264/attachment.pgp>
More information about the petsc-users
mailing list