Rewrite some code to avoid calling atan2 with both arguments being 0, as the result is undefined.
Description
Rewrite some code to avoid calling atan2 with both arguments being 0, as the result is undefined.
News snippet
Fix problem when Born charges output.
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.