[petsc-dev] Need a new name for DMDAGetOwnershipRanges

Jed Brown jed at 59A2.org
Mon Nov 29 16:09:23 CST 2010


On Mon, Nov 29, 2010 at 23:04, Barry Smith <bsmith at mcs.anl.gov> wrote:

> Changing the name means introducing a new concept that doesn't exist
> elsewhere and boy do I hate having tons of concepts in PETSc.
>

Agree.

   Plus few sane people would use this routine so changing its meaning won't
> effect many end users.
>

Disagree.  I think it's pretty common (I know at least five people,
including myself, who have done this independently) to create two or more
DAs that are compatible (2D matches with 3D, or cell-centered and one
node-centered) and the only robust way to do these things is to pass
lx,ly,lz along to the next Create (perhaps with some modifications).

Jed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20101129/fadbf713/attachment.html>


More information about the petsc-dev mailing list