Skip to content

Bootstrapping to fix a problem for MGGA, which is more general in octopus.

Nicolas Tancogne-Dejean requested to merge mgga_for_solids2 into develop

When different type of functionals are used in octopus, the flags are just added with a logical OR, which means for instance that TB09 was considered by the code to be have an energy functional. In the case of MGGA, this implies extra computing which was not needed.

Also, the calculation of Laplacian, energy density, paramagnetic current and KED is now optimized when computed with states_calc_quantities, thus reducing the extra cost associated with the use of MGGAs.

Merge request reports