Open koichishi opened 4 years ago
If so, I don't know how to compute the force by using only the coordinate and the velocity. Is there any hint?
You'll need to compute the "force" (or actually, the gradient of the potential energy) in dV_spring_particle_particle_dq.cpp (~2 lines), and it's the same for the four methods.
dV_spring_particle_particle_dq.cpp
If so, I don't know how to compute the force by using only the coordinate and the velocity. Is there any hint?