Dear Barry,<div><br></div><div>In that example the basis for null space is empty(only constant null space). I was wondering how would I form a Vec for example a for a 2D null space?</div><div>Specifically I&#39;m trying to remove a null space that its span(C,x,y) in my 2D matrix that I form using DA?</div>
<div>Best,</div><div>Ata<br><br><div class="gmail_quote">On Mon, May 16, 2011 at 2:02 PM, Barry Smith <span dir="ltr">&lt;<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
  src/ksp/ksp/examples/tests/ex20.c<br>
<br>
  Note that this is not a good example from the point of view of efficient generation of the matrix and solution of the linear system but it does demonstrate these functions<br>
<font color="#888888"><br>
   Barry<br>
</font><div><div></div><div class="h5"><br>
<br>
On May 16, 2011, at 12:39 PM, Ataollah Mesgarnejad wrote:<br>
<br>
&gt; Dear all,<br>
&gt;<br>
&gt; Does anyone know of any example programs that use MatNullSpaceCreate and KSPsetNullSpace routines?<br>
&gt;<br>
&gt; Best,<br>
&gt; Ata<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>A. Mesgarnejad<br>PhD Student, Research Assistant<br>Mechanical Engineering Department<br>Louisiana State University<br>2203 Patrick F. Taylor Hall<br>Baton Rouge, La 70803<br>

</div>