Fix the computation of the NLCC force to avoid numerical instabilities.
Description
Fix the computation of the NLCC force to avoid numerical instabilities.
News snippet
Fix the computation of the NLCC force to avoid numerical instabilities.
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.