Thanks very much for the very quick response. <div><br></div><div>I will pull the change from the mercurial repository and give it a try in the next couple of days. </div><div><br></div><div>Gaetan<br><br><div class="gmail_quote">
On Mon, Aug 27, 2012 at 3:59 PM, Peter Brune <span dir="ltr"><<a href="mailto:brune@mcs.anl.gov" target="_blank">brune@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've tested and pushed a fix to petsc-3.3. If there are any problems, let me know.<br><br><div class="gmail_quote"><div class="im">On Mon, Aug 27, 2012 at 12:24 PM, Gaetan Kenway <span dir="ltr"><<a href="mailto:kenway@utias.utoronto.ca" target="_blank">kenway@utias.utoronto.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Excellent. Thanks.<div><br></div><div>The reason for using the snes shell solver is I would like to try out the ngmres snes. solver. The code I'm working with already has a has a non-linear multi-grid method, coded directly in the fortran source. My plan was to setup the the ngmres snes solver, then create a snes shell as the preconditioner that wraps the nonlienear multigrid solver already in place. </div>
<div><br></div><div>Does this make sense? Is this the sort of usage you had in mind? </div><div><br></div></blockquote></div><div><br>This is very much the usage we were intending for this.<span class="HOEnZb"><font color="#888888"><br>
<br>- Peter<br> </font></span></div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div></div><div>Thanks,</div><div><br></div><div>Gaetan<div><div><br><br><div class="gmail_quote">On Mon, Aug 27, 2012 at 1:10 PM, Jed Brown <span dir="ltr"><<a href="mailto:jedbrown@mcs.anl.gov" target="_blank">jedbrown@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="gmail_quote">On Mon, Aug 27, 2012 at 12:09 PM, Gaetan Kenway <span dir="ltr"><<a href="mailto:kenway@utias.utoronto.ca" target="_blank">kenway@utias.utoronto.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
That's what I had deduced. I tried modifying the source code taking out the 'C', but it still didn't seem to generate the required wrapper. Does the functions that get passed function pointer handle's require special handling? </blockquote>
</div><div><br></div></div>It needs custom handling. Peter is working on it.<br><div><br></div>
</blockquote></div><br></div></div></div>
</blockquote></div></div><br>
</blockquote></div><br></div>