Skip to content

Commit

Permalink
Edits to ThreeBodyAPL. Still needs to be updated with better
Browse files Browse the repository at this point in the history
calculations for the relative gravity and motion
  • Loading branch information
mxd12001 authored and mxd12001 committed Dec 5, 2015
1 parent 38236f3 commit 9428b96
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/jat/examples/ThreeBodyExample/ThreeBodyAPL.java
Original file line number Diff line number Diff line change
@@ -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<Double> time = new ArrayList<Double>();
public ArrayList<Double> xsol = new ArrayList<Double>();
public ArrayList<Double> ysol = new ArrayList<Double>();
public ArrayList<Double> zsol = new ArrayList<Double>();

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
Expand Down

0 comments on commit 9428b96

Please sign in to comment.