Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pulsatingscience
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
einsteinathome
pulsatingscience
Commits
dc52b0fb
Commit
dc52b0fb
authored
7 years ago
by
Oliver Bock
Browse files
Options
Downloads
Patches
Plain Diff
Fixed typo
parent
f929d0c7
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/pulsaranimationwidget.cpp
+1
-2
1 addition, 2 deletions
src/pulsaranimationwidget.cpp
src/pulsaranimationwidget.h
+1
-1
1 addition, 1 deletion
src/pulsaranimationwidget.h
src/pulsatingscience.cpp
+1
-1
1 addition, 1 deletion
src/pulsatingscience.cpp
with
3 additions
and
4 deletions
src/pulsaranimationwidget.cpp
+
1
−
2
View file @
dc52b0fb
...
@@ -574,10 +574,9 @@ void PulsarAnimationWidget::setPulsarSemiMajorAxis(const double length)
...
@@ -574,10 +574,9 @@ void PulsarAnimationWidget::setPulsarSemiMajorAxis(const double length)
updateGL
();
updateGL
();
}
}
void
PulsarAnimationWidget
::
setL
L
HOAngle
(
const
double
degrees
)
void
PulsarAnimationWidget
::
setLHOAngle
(
const
double
degrees
)
{
{
m_LHOAngle
=
degrees
+
180
;
m_LHOAngle
=
degrees
+
180
;
updateOrbitRadii
();
updatePulseProfile
();
updatePulseProfile
();
updateGL
();
updateGL
();
...
...
This diff is collapsed.
Click to expand it.
src/pulsaranimationwidget.h
+
1
−
1
View file @
dc52b0fb
...
@@ -47,7 +47,7 @@ public:
...
@@ -47,7 +47,7 @@ public:
void
setFramePerSecond
(
const
unsigned
int
fps
);
void
setFramePerSecond
(
const
unsigned
int
fps
);
void
setCompanionMass
(
const
double
mass
);
void
setCompanionMass
(
const
double
mass
);
void
setL
L
HOAngle
(
const
double
degrees
);
void
setLHOAngle
(
const
double
degrees
);
void
setLLOAngle
(
const
double
degrees
);
void
setLLOAngle
(
const
double
degrees
);
void
setVirgoAngle
(
const
int
degrees
);
void
setVirgoAngle
(
const
int
degrees
);
void
setPulsarSpinAxisInclination
(
const
int
degrees
);
void
setPulsarSpinAxisInclination
(
const
int
degrees
);
...
...
This diff is collapsed.
Click to expand it.
src/pulsatingscience.cpp
+
1
−
1
View file @
dc52b0fb
...
@@ -204,7 +204,7 @@ void PulsatingScience::closeEvent(QCloseEvent *event)
...
@@ -204,7 +204,7 @@ void PulsatingScience::closeEvent(QCloseEvent *event)
void
PulsatingScience
::
on_sliderLHOAngle_valueChanged
(
int
value
)
void
PulsatingScience
::
on_sliderLHOAngle_valueChanged
(
int
value
)
{
{
ui
.
pulsarGlWidget
->
setL
L
HOAngle
(
value
);
ui
.
pulsarGlWidget
->
setLHOAngle
(
value
);
ui
.
lcdLHOAngle
->
display
(
QString
::
number
(
value
));
ui
.
lcdLHOAngle
->
display
(
QString
::
number
(
value
));
}
}
...
...
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