You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ The Lennard-Jones potential is used in molecular dynamics simulations for approx
81
81
`PotentialNBodySystem` structure represents systems with a custom set of potentials. In other words, the user determines the ways in which the particles are allowed to interact. One can pass the bodies and parameters of interaction potentials into that system. In the case the potential parameters are not set, the particles will move at constant velocities without acceleration during the simulation.
82
82
83
83
```julia
84
-
system =PotentialNBodySystem(bodies, Dict(:gravitational=> g_parameters, electrostatic:=> el_potential))
84
+
system =PotentialNBodySystem(bodies, Dict(:gravitational=> g_parameters, :electrostatic=> el_potential))
0 commit comments