sbh
04-10-2007, 07:46 PM
Hello all,
I searched the forum for this specific issue, as well as the internet and the two NR books that I own, and I haven't yet figured out how to store all the results (with their respective locations/time steps) from odeint. Basically I coped the example problem from the CD, the example code "xodeint.cpp" and made my adjustments, but it only saves maybe 14 results. I would like to write to a file the x[] and y[][1],y[][2],y[][3] data at EVERY increment.
Thanks kindly for your response in advance
P.S. Yes, I am not an expert programmer, yet. :)
I searched the forum for this specific issue, as well as the internet and the two NR books that I own, and I haven't yet figured out how to store all the results (with their respective locations/time steps) from odeint. Basically I coped the example problem from the CD, the example code "xodeint.cpp" and made my adjustments, but it only saves maybe 14 results. I would like to write to a file the x[] and y[][1],y[][2],y[][3] data at EVERY increment.
Thanks kindly for your response in advance
P.S. Yes, I am not an expert programmer, yet. :)