<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jul 28, 2010, at 11:15 AM, Hong Zhang wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Run ex4 with '-ts_type sundials -nox -ts_sundials_monitor_steps'<br><br></div></blockquote><div><br></div><div>it does output all the time steps. But they are different in time</div><div>beuler</div><div><div>Timestep 0: time = 0, 2-norm error = 1.01507e-15, max norm error = 3.10862e-15</div><div>Timestep 1: time = 0.000143637, 2-norm error = 0.00112483, max norm error = 0.00162124</div><div>Timestep 2: time = 0.000287274, 2-norm error = 0.00213968, max norm error = 0.00308653</div><div>Timestep 3: time = 0.000430911, 2-norm error = 0.00305264, max norm error = 0.0044073</div><div>Timestep 4: time = 0.000574548, 2-norm error = 0.00387125, max norm error = 0.00559423</div><div>Timestep 5: time = 0.000718184, 2-norm error = 0.0046026, max norm error = 0.00665731</div><div>Timestep 6: time = 0.000861821, 2-norm error = 0.00525327, max norm error = 0.00760586</div><div>Timestep 7: time = 0.00100546, 2-norm error = 0.00582943, max norm error = 0.00844859</div><div>Timestep 8: time = 0.0011491, 2-norm error = 0.00633684, max norm error = 0.00919364</div><div>Timestep 9: time = 0.00129273, 2-norm error = 0.00678087, max norm error = 0.00984859</div><div><br></div></div><div>sundials</div><div><div>Timestep 0: time = 0, 2-norm error = 1.01507e-15, max norm error = 3.10862e-15</div><div>Timestep 1: time = 4.23858e-06, 2-norm error = 9.80672e-06, max norm error = 1.41163e-05</div><div>Timestep 2: time = 8.47716e-06, 2-norm error = 1.95841e-05, max norm error = 2.8191e-05</div><div>Timestep 3: time = 1.94633e-05, 2-norm error = 4.45115e-05, max norm error = 6.40773e-05</div><div>Timestep 4: time = 3.04494e-05, 2-norm error = 6.80772e-05, max norm error = 9.80074e-05</div><div>Timestep 5: time = 4.14354e-05, 2-norm error = 9.10699e-05, max norm error = 0.000131116</div><div>Timestep 6: time = 5.24215e-05, 2-norm error = 0.000113753, max norm error = 0.000163784</div><div>Timestep 7: time = 7.6572e-05, 2-norm error = 0.000162885, max norm error = 0.000234557</div><div>Timestep 8: time = 0.000135787, 2-norm error = 0.000278648, max norm error = 0.000401418</div><div>Timestep 9: time = 0.000195002, 2-norm error = 0.000388956, max norm error = 0.000560541</div><div><br></div></div>Can I custom the output time of sundials?<br><blockquote type="cite"><div>Hong<br><br>On Wed, Jul 28, 2010 at 9:17 AM, Xuan YU <<a href="mailto:xxy113@psu.edu">xxy113@psu.edu</a>> wrote:<br><blockquote type="cite">Hi<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I am running the example: src/ts/examples/tutorials/ex4.c<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">For this example, why sundials(./ex4 -ts_type sundials) only output the<br></blockquote><blockquote type="cite">first time step and the last time step, but beuler can output every time<br></blockquote><blockquote type="cite">step?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">How can I make sundials output every time step?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks!<br></blockquote><blockquote type="cite"><br></blockquote><br></div></blockquote></div><br><div apple-content-edited="true"> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Xuan YU (<span class="Apple-style-span" style="font-family: arial; font-size: 16px; white-space: pre; ">俞烜<span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; white-space: normal; ">)</span></span></div><div><a href="mailto:xxy113@psu.edu">xxy113@psu.edu</a></div><div><br></div></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"> </div><br></body></html>