Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Orekit
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
Gaëtan Pierre
Orekit
Commits
341db008
Commit
341db008
authored
5 years ago
by
Luc Maisonobe
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' into issue-603
parents
927e9423
a48d2bed
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/changes/changes.xml
+3
-0
3 additions, 0 deletions
src/changes/changes.xml
src/main/java/org/orekit/propagation/analytical/AggregateBoundedPropagator.java
+22
-0
22 additions, 0 deletions
...it/propagation/analytical/AggregateBoundedPropagator.java
with
25 additions
and
0 deletions
src/changes/changes.xml
+
3
−
0
View file @
341db008
...
...
@@ -21,6 +21,9 @@
</properties>
<body>
<release
version=
"10.1"
date=
"TBD"
description=
"TBD"
>
<action
dev=
"evan"
type=
"fix"
issue=
"589"
>
Improve performance of AggregateBoundedPropagator by factor of 2.
</action>
<action
dev=
"luc"
type=
"fix"
issue=
"600"
>
Fixed parsing of compact RINEX files with many observation types.
</action>
...
...
This diff is collapsed.
Click to expand it.
src/main/java/org/orekit/propagation/analytical/AggregateBoundedPropagator.java
+
22
−
0
View file @
341db008
...
...
@@ -21,6 +21,7 @@ import java.util.Map.Entry;
import
java.util.NavigableMap
;
import
java.util.TreeMap
;
import
org.orekit.attitudes.Attitude
;
import
org.orekit.errors.OrekitException
;
import
org.orekit.errors.OrekitMessages
;
import
org.orekit.frames.Frame
;
...
...
@@ -71,6 +72,27 @@ public class AggregateBoundedPropagator extends AbstractAnalyticalPropagator
this
.
propagators
.
firstEntry
().
getValue
().
getInitialState
());
}
@Override
protected
SpacecraftState
basicPropagate
(
final
AbsoluteDate
date
)
{
// #589 override this method for a performance benefit,
// getPropagator(date).propagate(date) is only called once
// do propagation
final
SpacecraftState
state
=
getPropagator
(
date
).
propagate
(
date
);
// evaluate attitude
final
Attitude
attitude
=
getAttitudeProvider
().
getAttitude
(
this
,
date
,
state
.
getFrame
());
// build raw state
if
(
state
.
isOrbitDefined
())
{
return
new
SpacecraftState
(
state
.
getOrbit
(),
attitude
,
state
.
getMass
(),
state
.
getAdditionalStates
());
}
else
{
return
new
SpacecraftState
(
state
.
getAbsPVA
(),
attitude
,
state
.
getMass
(),
state
.
getAdditionalStates
());
}
}
@Override
public
TimeStampedPVCoordinates
getPVCoordinates
(
final
AbsoluteDate
date
,
...
...
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