[petsc-dev] Need mechanism to set LocalToGlobal mapping in a DMShell
Jed Brown
jedbrown at mcs.anl.gov
Thu Feb 21 14:07:29 CST 2013
On Thu, Feb 21, 2013 at 2:02 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> The issue is not allowing or even often using SF. The issue is that
> DMGlobalToLocal() already has the flexibility to use a globaltolocal
> function pointer. And I object to hiding that or pretending it doesn't
> exist and saying one HAS to use SF especially if one already has code that
> does exactly what is needed some other way.
>
Sure, if he has the code, then by all means, he should have DM call his
code. But if that code was either not already written or if he could get
better reuse internally by using PetscSF, it may be a fine choice.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130221/82529888/attachment.html>
More information about the petsc-dev
mailing list