<div class="gmail_quote">On Tue, Jan 10, 2012 at 03:50, Alexander Grayver <span dir="ltr"><<a href="mailto:agrayver@gfz-potsdam.de">agrayver@gfz-potsdam.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<a href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/KSP/KSPSetNullSpace.html" target="_blank">http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/KSP/KSPSetNullSpace.html</a><br>
<br>
You set nullspace without any particular information:<br>
<br>
ierr = MatNullSpaceCreate(PETSC_COMM_WORLD, PETSC_TRUE, 0,
PETSC_NULL, &nullsp);<br>
ierr = KSPSetNullSpace(ksp, nullsp);<br>
<br>
What does it project and how works in this case?</blockquote></div><br><div>This removes the constant null space. The has_const argument is equivalent to creating a constant vector (but more efficient).</div>