Bugfix initialization
Description
The energy density is intent(out), so the result should always be initialized.
News snippet
Minor bugfix for the output of the energy density when there is no functional.
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.