From 9428b969723ad2acde3f53f9d058d5b2d47ac0da Mon Sep 17 00:00:00 2001 From: mxd12001 Date: Fri, 4 Dec 2015 19:12:58 -0500 Subject: [PATCH] Edits to ThreeBodyAPL. Still needs to be updated with better calculations for the relative gravity and motion --- src/jat/examples/ThreeBodyExample/ThreeBodyAPL.java | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/jat/examples/ThreeBodyExample/ThreeBodyAPL.java b/src/jat/examples/ThreeBodyExample/ThreeBodyAPL.java index f3265db..28104e0 100644 --- a/src/jat/examples/ThreeBodyExample/ThreeBodyAPL.java +++ b/src/jat/examples/ThreeBodyExample/ThreeBodyAPL.java @@ -1,22 +1,14 @@ package jat.examples.ThreeBodyExample; -import java.util.ArrayList; - import org.apache.commons.math3.ode.FirstOrderDifferentialEquations; import jat.coreNOSA.cm.ThreeBody; import jat.coreNOSA.math.MatrixVector.data.VectorN; public class ThreeBodyAPL extends ThreeBody implements FirstOrderDifferentialEquations{ - double initial_ta; - public ArrayList time = new ArrayList(); - public ArrayList xsol = new ArrayList(); - public ArrayList ysol = new ArrayList(); - public ArrayList zsol = new ArrayList(); - public ThreeBodyAPL(double mu, VectorN r, VectorN v) { - super(mu, r, v); - initial_ta = ta; + public ThreeBodyAPL(double G, double m1, double m2, double m3) { + super(G, m1, m2, m3); } @Override