<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><br><div>> From: jedbrown@mcs.anl.gov<br>> To: pengxwang@hotmail.com; petsc-users@mcs.anl.gov<br>> Subject: Re: [petsc-users] extract vector for a 2-D plane from a DM vector for a 3-D domain<br>> Date: Wed, 16 Oct 2013 09:36:41 -0500<br>> <br>> Roc Wang <pengxwang@hotmail.com> writes:<br>> > I have a DM and its vector for a structured 3-D domain and trying<br>> > to extract the data for a 2-D plane. I did some research on the<br>> > manual and noticed there is function named DMSlicedCreate(),<br>> > however, it is for unstructured problem. Is there any ohter<br>> > function to extract vector for a 2-D plane from DM vector for a<br>> > 3-D domain directly?<br>> <br>> Create a VecScatter. Do you want to extract many planes to separate<br>> communicators?<br>Is it possible I have both cases? 1 a few planes in the same communicator; 2 many planes to separate communicator.<br></div> </div></body>
</html>