Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Orekit
Orekit
Commits
06024fd1
Commit
06024fd1
authored
Jun 03, 2022
by
Luc Maisonobe
Browse files
Raise too stringent convergence threshold in Eckstein-Hechler model.
Fixes
#936
parent
75a6e52f
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/changes/changes.xml
View file @
06024fd1
...
...
@@ -21,6 +21,9 @@
</properties>
<body>
<release
version=
"11.2"
date=
"TBD"
description=
"TBD"
>
<action
dev=
"luc"
type=
"fix"
issue=
"936"
>
Raised a too stringent convergence threshold in Eackstein-Hechler model.
</action>
<action
dev=
"bryan"
type=
"add"
issue=
"932"
>
Added a way to compute mean parameters in Brouwer-Lyddane model.
</action>
...
...
src/main/java/org/orekit/propagation/analytical/EcksteinHechlerPropagator.java
View file @
06024fd1
...
...
@@ -565,7 +565,7 @@ public class EcksteinHechlerPropagator extends AbstractAnalyticalPropagator {
final
double
epsilon
=
1.0
e
-
13
;
final
double
thresholdA
=
epsilon
*
(
1
+
FastMath
.
abs
(
current
.
mean
.
getA
()));
final
double
thresholdE
=
epsilon
*
(
1
+
current
.
mean
.
getE
());
final
double
thresholdAngles
=
epsilon
*
FastMath
.
PI
;
final
double
thresholdAngles
=
epsilon
*
MathUtils
.
TWO_
PI
;
int
i
=
0
;
while
(
i
++
<
100
)
{
...
...
src/main/java/org/orekit/propagation/analytical/FieldEcksteinHechlerPropagator.java
View file @
06024fd1
...
...
@@ -549,7 +549,7 @@ public class FieldEcksteinHechlerPropagator<T extends CalculusFieldElement<T>> e
final
T
epsilon
=
one
.
multiply
(
1.0
e
-
13
);
final
T
thresholdA
=
epsilon
.
multiply
(
current
.
mean
.
getA
().
abs
().
add
(
1.0
));
final
T
thresholdE
=
epsilon
.
multiply
(
current
.
mean
.
getE
().
add
(
1.0
));
final
T
thresholdAngles
=
epsilon
.
multiply
(
one
.
getPi
());
final
T
thresholdAngles
=
epsilon
.
multiply
(
one
.
getPi
()
.
multiply
(
2
)
);
int
i
=
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment