Skip to content

If DFT+U is not activated, we should not compute the corresponding matrix element.

Nicolas Tancogne-Dejean requested to merge remove_useless_operation into develop

Description

If DFT+U is not activated, we should not compute the corresponding matrix element.

News snippet

Minor optimization if DFT+U is not activated.

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.

Merge request reports