Re: [petsc-dev] Problem with DMKSP/DMSNES and GMG

2018-10-26 Thread Matthew Knepley
On Fri, Oct 26, 2018 at 12:13 PM Jed Brown wrote: > Matthew Knepley writes: > > > On Fri, Oct 26, 2018 at 11:24 AM Jed Brown wrote: > > > >> Matthew Knepley writes: > >> > >> > On Fri, Oct 26, 2018 at 11:06 AM Jed Brown wrote: > >> > > >> >> Matthew Knepley writes: > >> >> > >> >> > I am

Re: [petsc-dev] Problem with DMKSP/DMSNES and GMG

2018-10-26 Thread Jed Brown
Matthew Knepley writes: > On Fri, Oct 26, 2018 at 11:24 AM Jed Brown wrote: > >> Matthew Knepley writes: >> >> > On Fri, Oct 26, 2018 at 11:06 AM Jed Brown wrote: >> > >> >> Matthew Knepley writes: >> >> >> >> > I am having a problem, and every solution I can think of would seem >> to do >>

Re: [petsc-dev] Problem with DMKSP/DMSNES and GMG

2018-10-26 Thread Matthew Knepley
On Fri, Oct 26, 2018 at 11:24 AM Jed Brown wrote: > Matthew Knepley writes: > > > On Fri, Oct 26, 2018 at 11:06 AM Jed Brown wrote: > > > >> Matthew Knepley writes: > >> > >> > I am having a problem, and every solution I can think of would seem > to do > >> > violence to encapsulation or to

Re: [petsc-dev] Problem with DMKSP/DMSNES and GMG

2018-10-26 Thread Jed Brown
Matthew Knepley writes: > On Fri, Oct 26, 2018 at 11:06 AM Jed Brown wrote: > >> Matthew Knepley writes: >> >> > I am having a problem, and every solution I can think of would seem to do >> > violence to encapsulation or to DMKSP/DMSNES. >> > >> > I want to have GMG automatically work on the

Re: [petsc-dev] Problem with DMKSP/DMSNES and GMG

2018-10-26 Thread Boris Boutkov
Hi, I'm just wondering if this ties into the issues I brought up in : https://lists.mcs.anl.gov/pipermail/petsc-dev/2018-October/023615.html ? >From my perspective, I think I would prefer the copy everything mechanism, but I'm not sure about the nature of the introduced dependencies and if I

Re: [petsc-dev] Problem with DMKSP/DMSNES and GMG

2018-10-26 Thread Matthew Knepley
On Fri, Oct 26, 2018 at 11:06 AM Jed Brown wrote: > Matthew Knepley writes: > > > I am having a problem, and every solution I can think of would seem to do > > violence to encapsulation or to DMKSP/DMSNES. > > > > I want to have GMG automatically work on the velocity part of Stokes. So > I > >

Re: [petsc-dev] Problem with DMKSP/DMSNES and GMG

2018-10-26 Thread Jed Brown
Matthew Knepley writes: > I am having a problem, and every solution I can think of would seem to do > violence to encapsulation or to DMKSP/DMSNES. > > I want to have GMG automatically work on the velocity part of Stokes. So I > give > > -fieldsplit_velocity_pc_type mg > > in SNES ex62. This