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
If I get it correctly, with the current definition of r, the function returns the force acting on charge "b". Perhaps we could change to @brief force on charge a due to charge b? Due to a lucky cancellation of signs, we got the right force in Faunus, but it's quite easy to make mistakes. I renamed distance vectors to a_towards_b to make it very explicit what is expected.
If I get it correctly, with the current definition of r, the function returns the force acting on charge "b". Perhaps we could change to
@brief force on charge a due to charge b
? Due to a lucky cancellation of signs, we got the right force in Faunus, but it's quite easy to make mistakes. I renamed distance vectors toa_towards_b
to make it very explicit what is expected.coulombgalore/coulombgalore.h
Line 1018 in d0c5862
The text was updated successfully, but these errors were encountered: