[petsc-dev] Attaching a near null space to an IS

2012-05-06 Thread Matthew Knepley
On Sun, May 6, 2012 at 7:15 PM, Jed Brown jedbrown at mcs.anl.gov wrote: Matt introduced this concept, he says the IS is a better place to attach things. http://petsc.cs.iit.edu/petsc/petsc-dev/rev/2ad289ac99e0 I don't understand why the IS is better (because it's mostly immutable?). I'm

[petsc-dev] Attaching a near null space to an IS

2012-05-06 Thread Barry Smith
I think it belongs in the DM (or the matrix if it was put in the matrix). When you select a subpart of the DM that new DM should contain the near null space for the subpart. The DM associated with the field defining IS is where all properties should go, not the IS itself. Of course, we

[petsc-dev] Attaching a near null space to an IS

2012-05-06 Thread Matthew Knepley
On Sun, May 6, 2012 at 8:34 PM, Barry Smith bsmith at mcs.anl.gov wrote: I think it belongs in the DM (or the matrix if it was put in the matrix). When you select a subpart of the DM that new DM should contain the near null space for the subpart. The DM associated with the field defining IS