[petsc-dev] DACreate3d should work for 1 node in Z

Jed Brown jed at 59A2.org
Tue Apr 19 15:48:19 CDT 2011


On Tue, Apr 19, 2011 at 22:44, Ethan Coon <ecoon at lanl.gov> wrote:

> The short answer -- make the z-size = s.  It's not that huge of a hit --
> the local arrays are 6*NX*NY*ndofs instead of 5*NX*NY*ndofs.
>

Indeed, though it is potentially about twice as much work because you only
have to evaluate residuals on the owned nodes.


>
> Otherwise, I'll try to implement the special-special case of
> DMDA_BOUNDARY_PERIODIC, P=1, zl=1, and s > 1 soon.
>

Great, thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110419/84552a8d/attachment.html>


More information about the petsc-dev mailing list