<div dir="ltr">I feel confused about  <span class="" id=":1ux.1" tabindex="-1" style>MatNullSpaceSetFunction</span>(), and is there any example to show how to use this function? What should I do in the the following function<b> rem?</b><div>For example, I have a <span class="" id=":1ux.2" tabindex="-1" style>vection</span> a=(a1,a2,a3) and the null space is (0,0,1).<br><div><br><div><span style="color:rgb(0,0,0)"><span class="" id=":1ux.3" tabindex="-1" style>PetscErrorCode</span>  <span class="" id=":1ux.4" tabindex="-1" style>MatNullSpaceSetFunction</span>(<span class="" id=":1ux.5" tabindex="-1" style>MatNullSpace</span> <span class="" id=":1ux.6" tabindex="-1" style>sp</span>, <span class="" id=":1ux.7" tabindex="-1" style>PetscErrorCode</span> (*rem)(<span class="" id=":1ux.8" tabindex="-1" style>MatNullSpace</span>,<span class="" id=":1ux.9" tabindex="-1" style>Vec</span>,void*),void *<span class="" id=":1ux.10" tabindex="-1" style>ctx</span>)</span><div><span style="color:rgb(0,0,0);font-family:Times;font-size:medium"></span><p style="color:rgb(0,0,0);font-family:Times;font-size:medium"></p><h3 style="color:rgb(0,0,0);font-family:Times"><font color="#CC3333">Input Parameters</font></h3><table border="0" cellpadding="0" cellspacing="0" style="color:rgb(0,0,0);font-family:Times;font-size:medium"><tbody><tr><td width="40"></td><td align="LEFT" valign="TOP"><b><span class="" id=":1ux.11" tabindex="-1" style>sp</span></b></td><td>- the null space object</td></tr><tr><td width="40"></td><td align="LEFT" valign="TOP"><b>rem</b></td><td>- the function that removes the null space<br></td></tr><tr><td width="40"></td><td align="LEFT" valign="TOP"><b><span class="" id=":1ux.12" tabindex="-1" style>ctx</span></b></td><td>- context for the remove function<br><br><br></td></tr></tbody></table></div>
</div></div></div></div>

<br>
<div><hr></div><font face="Arial" size="1">This message and its contents, including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in error, please notify me immediately and delete this message from your computer system. Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email.</font>