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
einsteinathome
pulsatingscience
Commits
48335462
Commit
48335462
authored
Feb 19, 2009
by
Oliver Bock
Browse files
Correcting for proper time delay
parent
59856162
Changes
1
Show whitespace changes
Inline
Side-by-side
src/pulsaranimationwidget.cpp
View file @
48335462
...
...
@@ -623,7 +623,7 @@ void PulsarAnimationWidget::updatePulseProfile()
// prepare parameters (e.g. convert to radians where necessary)
const
double
i
=
deg2rad
*
m_pulsarSpinAxisInclination
;
const
double
y
=
deg2rad
*
m_pulsarMagneticAxisInclination
;
double
phiOrb
=
deg2rad
*
m_orbitRotationAngle
;
double
phiOrb
=
deg2rad
*
(
m_orbitRotationAngle
+
90.0
)
;
const
double
deltaPhiRot
=
deg2rad
*
1.0
;
const
double
deltaPhiOrb
=
deg2rad
*
deltaPhiRot
*
m_orbitRotationDelta
/
m_pulsarRotationDelta
;
const
double
rp
=
m_pulsarSemiMajorAxis
;
...
...
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