[petsc-users] move from KSPSetNullSpace to MatSetNullSpace

Barry Smith bsmith at mcs.anl.gov
Sun Jun 28 14:00:02 CDT 2015


> On Jun 28, 2015, at 12:20 PM, Stephan Kramer <s.kramer at imperial.ac.uk> wrote:
> 
>>   If we move the location of the nullspace used in removal from the pmat to the mat would that completely resolve the problem for you?
>> 
>>  Barry
> 
> That would indeed resolve the issue (and to me would also make the most sense)

  Good.

   Unfortunately I realized later that this may not work when users use -snes_mf_operator which overwrites the operator provided by the user and any null space they attached to it. So the fix needs to be a little more subtle.

  Barry



> 
> Stephan



More information about the petsc-users mailing list