Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
common
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Alexander Lapshin
common
Commits
690846c9
Commit
690846c9
authored
Aug 21, 2019
by
Alexander Lapshin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
4e61792e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
AscNodeOrbit.cpp
utils/AscNodeOrbit.cpp
+4
-4
No files found.
utils/AscNodeOrbit.cpp
View file @
690846c9
...
...
@@ -36,13 +36,13 @@ void AscNodeOrbit::calc_asc_node(Propagator& prop, const TimeJD& date, const boo
result
=
ascNodeOrbit
.
GetPhasePointJ2000
();
if
(
date
<
result
.
T
)
{
throw
Exp
()
<<
"internal error in ascending node method 2
"
;
throw
Exp
()
<<
"internal error in ascending node method 2
"
<<
DaysInterval
(
date
,
result
.
T
)
*
86400
;
}
}
else
{
if
(
!
GetAscNodeYZ
(
*
prop
.
GetPredictor
()
->
GetPredictor
(),
prop
.
GetPredictor
()
->
GetTime
(),
result
,
GetY
,
GetVY
))
{
throw
Exp
()
<<
"internal error in ascending node method
2
"
;
throw
Exp
()
<<
"internal error in ascending node method
3
"
;
}
}
}
...
...
@@ -67,13 +67,13 @@ void AscNodeOrbit::calc_desc_node(Propagator& prop, const TimeJD& date, const bo
//std::string res_s = DateToStr(result.T);
if
(
date
<
result
.
T
)
{
throw
Exp
()
<<
"internal error in
a
scending node method 2"
;
throw
Exp
()
<<
"internal error in
de
scending node method 2"
;
}
}
else
{
if
(
!
GetAscNodeYZ
(
*
prop
.
GetPredictor
()
->
GetPredictor
(),
prop
.
GetPredictor
()
->
GetTime
(),
result
,
GetY
,
GetVY
))
{
throw
Exp
()
<<
"internal error in descending node method
2
"
;
throw
Exp
()
<<
"internal error in descending node method
3
"
;
}
}
}
...
...
Write
Preview
Markdown
is supported
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