On Thu, May 13, 2010 at 11:07 AM, Eloy Romero <span dir="ltr">&lt;<a href="mailto:elroal@upvnet.upv.es">elroal@upvnet.upv.es</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">



  

<div bgcolor="#ffffff" text="#000000">
On 05/13/2010 04:41 PM, Matthew Knepley wrote:<br>
<blockquote type="cite">
  <div class="gmail_quote">
  <div> </div>
  <blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">In
my application, a ksp configured by the user is given, and I would like
to use that configuration for solving all the linear systems. Creating
new ksps and configuring them with KSPSetFromOptions is not a complete
solution because the user could modify the ksp by code.<br>
  </blockquote>
  </div>
  <div><br>
  </div>
You can replicate all the KSP settings in the new KSP. They are all
available by the API.
  <div><br>
  </div>
  <div>   Matt<br>
-- <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<br>
  </div>
</blockquote>
<br>
Are you suggesting that I have to call _all_ KSPGet* routines and then
the corresponding KSPSet* routines in order to copy a ksp object?<br></div></blockquote><div><br></div><div>For any setting which you wish to replicate, yes.</div><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 bgcolor="#ffffff" text="#000000">
Thanks for your time,<br>
<br>
Eloy</div></blockquote></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<br>