Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Courses
CA-Framework-2022
Commits
e54fd152
Commit
e54fd152
authored
Apr 06, 2021
by
Hui Wang
Browse files
comments update
parent
7eb93ea8
Changes
1
Show whitespace changes
Inline
Side-by-side
1-1_cannonball/CannonBallSim.cpp
View file @
e54fd152
...
@@ -12,7 +12,7 @@ bool CannonBallSim::advance() {
...
@@ -12,7 +12,7 @@ bool CannonBallSim::advance() {
switch
(
m_method
)
{
switch
(
m_method
)
{
case
0
:
case
0
:
// analytical solution
// analytical solution
//
v
(t) = v_0*t + 0.5*a*t^2
//
p
(t) = v_0*t + 0.5*a*t^2
break
;
break
;
case
1
:
case
1
:
...
...
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