<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear pets users,<div><br></div><div>I have been trying to set some sundials options from petsc4py but I am unsuccessful. I hope somebody will have a good pointer.</div><div>For example I can pass -ts_sundials_type bdf to python in the command line.</div><div><br></div><div>I would like to call TSSundialsSetTolerance to set the tolerance. Hence I need to pass some options in the command line (I don't know if this is possible for this particular function) or call TSSundialsSetTolerance(…) from petsc4py. So far, I am clueless.</div><div><br></div><div>Also, I would like to limit the step sizes. This is not documented in petsc_manual.pdf. But in sundial.c, there is PetscErrorCode TSSundialsSetMaxTimeStep_Sundials(TS ts,PetscReal maxdt) which I would like to call also from petsc4py.</div><div><br></div><div>Thank you for your help,</div><div><br></div><div>Best regards,</div><div><br></div><div><br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Veltz Romain</div><div><i><br></i></div><div><i>Neuromathcomp Project Team<span class="Apple-converted-space"> </span><br>Inria Sophia Antipolis Méditerranée<span class="Apple-converted-space"> </span><br>2004 Route des Lucioles-BP 93<span class="Apple-converted-space"> </span><br>FR-06902 Sophia Antipolis</i></div><div><a href="http://www-sop.inria.fr/members/Romain.Veltz/public_html/Home.html">http://www-sop.inria.fr/members/Romain.Veltz/public_html/Home.html</a></div><div><br></div></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></div></body></html>