Skip to content
Snippets Groups Projects
Commit f22fe402 authored by sesteves's avatar sesteves
Browse files

minor

parent 27612343
No related branches found
No related tags found
No related merge requests found
......@@ -369,6 +369,7 @@ public class Rugged {
// compute atmosphere deviation.
AtmosphericRefraction atmosphericRefraction = new MultiLayerModel();
// result.getZenith()
long deviation = atmosphericRefraction.getDeviation(pBody, lBody, result.getAltitude());
}
......
......@@ -2,6 +2,9 @@ package org.orekit.rugged.atmosphericrefraction;
import org.apache.commons.math3.geometry.euclidean.threed.Vector3D;
import java.util.ArrayList;
import java.util.List;
/**
* Multi layer model for atmospheric refraction.
* @author Sergio Esteves
......@@ -11,12 +14,15 @@ public class MultiLayerModel implements AtmosphericRefraction {
private static final double KARMA_LINE = 1000000;
private static final double LAYER_SIZE = KARMA_LINE * 0.25;
private List<Double> refractions = new ArrayList<Double>();
private int numberOfLayers = 1;
public MultiLayerModel() {
}
public MultiLayerModel(int numberOfLayers) {
refractions.add(1.00029);
this.numberOfLayers = numberOfLayers;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment