Commit c76842b
committed
[BUGFIX] Correct particle velocity calculation
When updating particle velocity, if `velocity_update` is True, then
nodal velocity is *assigned* to the particle velocity but if
`velocity_update` is False, then velocity due to acceleration is *added*
to the current particle velocity.1 parent e4f8afb commit c76842b
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
215 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
216 | 217 | | |
217 | 218 | | |
218 | 219 | | |
| |||
0 commit comments