[petsc-users] DMShellSetCreateRestriction
Matthew Knepley
knepley at gmail.com
Fri Mar 11 14:53:28 CST 2016
On Fri, Mar 11, 2016 at 12:26 PM, Dave May <dave.mayhem23 at gmail.com> wrote:
> On 11 March 2016 at 18:11, anton <popov at uni-mainz.de> wrote:
>
>> Hi team,
>>
>> I'm implementing staggered grid in a PETSc-canonical way, trying to build
>> a custom DM object, attach it to SNES, that should later transfered it
>> further to KSP and PC.
>>
>> Yet, the Galerking coarsening for staggered grid is non-symmetric. The
>> question is how possible is it that DMShellSetCreateRestriction can be
>> implemented and included in 3.7 release?
>>
>
> It's a little more work than just adding a new method within the DM and a
> new APIs for DMCreateRestriction() and DMShellSetCreateRestriction().
> PCMG needs to be modified to call DMCreateRestriction().
>
Dave is correct. Currently, PCMG only calls DMCreateInterpolation(). We
would need to add a DMCreateRestriction() call.
Thanks,
Matt
> Please, please.
>>
>> Thanks,
>> Anton
>>
>>
>>
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160311/90f640f5/attachment.html>
More information about the petsc-users
mailing list