<div class="gmail_quote">On Mon, Nov 7, 2011 at 07:02, Konstantinos Kontzialis <span dir="ltr">&lt;<a href="mailto:ckontzialis@lycos.com">ckontzialis@lycos.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
which seems that my solution vector sys.gsv is not updated at every step, and moreover, when I print the solution ,I see the values got from the initial conditions.</blockquote></div><br><div>Your monitor should use the Vec passed to it, not the Vec in your user context. If you want access to the Vec at the beginning of the current step, call TSGetSolution(). Depending on the algorithm (finishing procedure), this may or may not be the same Vec that you passed to TSSolve(), but the Vec you passed in should be updated when TSSolve() returns.</div>