<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 9, 2014 at 11:40 AM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5">On Wed, Apr 9, 2014 at 10:38 AM, Xiangdong <span dir="ltr"><<a href="mailto:epscodes@gmail.com" target="_blank">epscodes@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello everyone,<div><br></div><div>When add this line to src/ex3.c</div><div><br></div><div>SNESFunction(snes,x,fval,&ctx);</div>

<div><br></div><div>The compiler complains that undefined reference to `SNESFunction'.</div>
<div><br></div><div>However, all other snes function calls in ex3 work well. Why is it special for SNESFunction?</div><div><br></div><div>Any suggestions to fix this problem?</div></div></blockquote><div><br></div></div>
</div><div>Do you want SNESComputeFunction() ?</div></div></div></div></blockquote><div><br></div><div>Yes, SNESComputeFunction() works. </div><div><br></div><div>It seems that SNESFunction() can takes one more input argument ctx. Is this function disabled in current release or just a bug in the header file?</div>
<div><br></div><div>Thanks.</div><div><br></div><div>Xiangdong</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">
<div class="gmail_quote">
<div><br></div><div>   Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thank you.</div><span><font color="#888888"><div>

<br></div><div>Xiangdong</div></font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>

-- Norbert Wiener
</font></span></div></div>
</blockquote></div><br></div></div>