<div class="gmail_quote">On Mon, Oct 18, 2010 at 23:51, Li, Zhisong (lizs) <span dir="ltr"><<a href="mailto:lizs@mail.uc.edu">lizs@mail.uc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<div style="direction:ltr;font-family:Tahoma;color:rgb(0, 0, 0);font-size:13px">
<div> Hi, Petsc Team,<br>
<br>
Using "DACreate2d" and "DACreate3d", I wonder is it possible to create a global 2D (m x n) structural domain correctly mapping to a global 3D (m x n x q) structural domain on each process in a parallel computation? If not, how to achieve this?</div>
</div></div></blockquote><div><br></div><div>Yes, this is possible, but note that you will have to insist via the "p" parameter to DACreate3d that the domain not be partitioned in the z-direction. There is a concrete example in src/snes/examples/tutorials/ex48.c, but it is probably doing more than you need. If you need to match an arbitrary DA, then you can use the "lx" and "ly" parameters.</div>
<div><br></div><div>Jed</div></div>