Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Rugged-MOD
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
youngcle
Rugged-MOD
Commits
f22fe402
Commit
f22fe402
authored
8 years ago
by
sesteves
Browse files
Options
Downloads
Patches
Plain Diff
minor
parent
27612343
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/org/orekit/rugged/api/Rugged.java
+1
-0
1 addition, 0 deletions
src/main/java/org/orekit/rugged/api/Rugged.java
src/main/java/org/orekit/rugged/atmosphericrefraction/MultiLayerModel.java
+6
-0
6 additions, 0 deletions
.../orekit/rugged/atmosphericrefraction/MultiLayerModel.java
with
7 additions
and
0 deletions
src/main/java/org/orekit/rugged/api/Rugged.java
+
1
−
0
View file @
f22fe402
...
...
@@ -369,6 +369,7 @@ public class Rugged {
// compute atmosphere deviation.
AtmosphericRefraction
atmosphericRefraction
=
new
MultiLayerModel
();
// result.getZenith()
long
deviation
=
atmosphericRefraction
.
getDeviation
(
pBody
,
lBody
,
result
.
getAltitude
());
}
...
...
This diff is collapsed.
Click to expand it.
src/main/java/org/orekit/rugged/atmosphericrefraction/MultiLayerModel.java
+
6
−
0
View file @
f22fe402
...
...
@@ -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
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment