On Fri, Mar 11, 2016 at 12:26 PM, Dave May <[email protected]> wrote:
> On 11 March 2016 at 18:11, anton <[email protected]> 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
