Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
we made the integral work
  • Loading branch information
rog13002 committed Dec 9, 2015
1 parent c3dba25 commit 5e31063
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 23 deletions.
42 changes: 21 additions & 21 deletions .classpath
@@ -1,21 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="lib" path="lib/commons-lang3-3.1.jar"/>
<classpathentry kind="lib" path="lib/commons-math3-3.0.jar"/>
<classpathentry kind="lib" path="lib/j3daudio.jar"/>
<classpathentry kind="lib" path="lib/j3dcore.jar"/>
<classpathentry kind="lib" path="lib/j3dtree.jar"/>
<classpathentry kind="lib" path="lib/j3dutils.jar"/>
<classpathentry kind="lib" path="lib/jdatepicker-1.3.2.jar"/>
<classpathentry kind="lib" path="lib/jgoodies-common-1.3.0.jar"/>
<classpathentry kind="lib" path="lib/jgoodies-forms-1.5.0.jar"/>
<classpathentry kind="lib" path="lib/jmi.jar"/>
<classpathentry kind="lib" path="lib/junit-4.3.1.jar"/>
<classpathentry kind="lib" path="lib/opencsv-2.3.jar"/>
<classpathentry kind="lib" path="lib/plot.jar"/>
<classpathentry kind="lib" path="lib/StarfireExt.jar"/>
<classpathentry kind="lib" path="lib/vecmath.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="lib" path="lib/commons-lang3-3.1.jar"/>
<classpathentry kind="lib" path="lib/commons-math3-3.0.jar" sourcepath="lib/commons-math3-3.0.jar"/>
<classpathentry kind="lib" path="lib/j3daudio.jar"/>
<classpathentry kind="lib" path="lib/j3dcore.jar"/>
<classpathentry kind="lib" path="lib/j3dtree.jar"/>
<classpathentry kind="lib" path="lib/j3dutils.jar"/>
<classpathentry kind="lib" path="lib/jdatepicker-1.3.2.jar"/>
<classpathentry kind="lib" path="lib/jgoodies-common-1.3.0.jar"/>
<classpathentry kind="lib" path="lib/jgoodies-forms-1.5.0.jar"/>
<classpathentry kind="lib" path="lib/jmi.jar"/>
<classpathentry kind="lib" path="lib/junit-4.3.1.jar"/>
<classpathentry kind="lib" path="lib/opencsv-2.3.jar"/>
<classpathentry kind="lib" path="lib/plot.jar"/>
<classpathentry kind="lib" path="lib/StarfireExt.jar"/>
<classpathentry kind="lib" path="lib/vecmath.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
6 changes: 5 additions & 1 deletion src/jat/examples/ThreeBodyExample/ThreeBodyAPL.java
Expand Up @@ -38,7 +38,11 @@ public class ThreeBodyAPL extends ThreeBody implements FirstOrderDifferentialEqu
@Override
public void computeDerivatives(double t, double[] y, double[] yDot) {
// returns the derivatives of the ThreeBody problem
yDot = this.derivs(t, y);
double [] yDot_temp = this.derivs(t, y);
for (int i=0; i<yDot_temp.length; i++)
{
yDot[i] = yDot_temp[i];
}
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion src/jat/examples/ThreeBodyExample/ThreeBodyExample.java
Expand Up @@ -110,7 +110,7 @@ public class ThreeBodyExample {
// l.draw_dot = true;
p.addPlot(s);
p.setLegendOrientation(PlotPanel.SOUTH);
double plotSize = 10000.;
double plotSize = 60000.;
double[] min = { -plotSize, -plotSize };
double[] max = { plotSize, plotSize };

Expand Down

0 comments on commit 5e31063

Please sign in to comment.