Bugfix MGGA with energy functional
The current version of the code, which is batch packed, was failling on MGGA with energy functionals. This is now fixed. A test is added for covering this, using the BR89 functional.
Fix a problem preventing running MGGA with energy functionals
- I have checked that my code follows the Octopus coding standards
- I have added tests for all the new features added in this request.