On Thu, Oct 27, 2011 at 12:44 PM, behzad baghapour <span dir="ltr">&lt;<a href="mailto:behzad.baghapour@gmail.com">behzad.baghapour@gmail.com</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;">
Dear All,<br><br>1- Is there any way to change the setting of SNES within its iteration process? ( for example, changing PC type or fill level due to some reasons ) <br></blockquote><div><br></div><div>Yes,</div><div><br>
</div><div>  SNESGetKSP()</div><div>  KSPGetPC()</div><div>  PC***()</div><div><br></div><div>I would probably put this code in a SNES monitor.</div><div> </div><div>   Matt</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2- page 120 of PETSc manual (TS): &quot;For location-dependent pseudo-timestepping, the interface function has not yet been created.&quot;<br>
Is there any way to control time-step locally? (This is due to variable time updating usually needed in PDE solution)<br><br>Thanks a lot,<br>B. B.<br><font color="#888888"><br>-- <br>==================================<br>
Behzad Baghapour<br>Ph.D. Candidate, Mechecanical Engineering<br>
University of Tehran, Tehran, Iran<br><a href="https://sites.google.com/site/behzadbaghapour" target="_blank">https://sites.google.com/site/behzadbaghapour</a><br>Fax: 0098-21-88020741<br>==================================<br>

<br>
</font></blockquote></div><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<br>