Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Joshius43

    2 body n-body program with leapfrog integrator FORTRAN 90

    Thanks FJacq It turns out that you were right in both cases. I ended up getting it to plot and everything now. As well as implementing an array for my timesteps to allow for far more accuracy. It now simulates the orbit correctly, conserves energy, works. My next step will be moving from this...
  2. Joshius43

    2 body n-body program with leapfrog integrator FORTRAN 90

    So I am having trouble getting this program to work. I have all of my variables declared and what not, the issue seems to be that when I run the program, the "star" just drifts with an always increasing acceleration continuously away, so the energy of the system is not conserved, as it should...

Part and Inventory Search

Back
Top