Speed up LCAO (PW and FD initializations and otherwise). Closes #1105
- Calculate the real space displacement potential energy matrix only once per each spin-channel on the core
Previously, on spin polarized systems, the potential matrix was calculated every k-point, even it was necessary only once per spin channel. Speeds up test case from 226 sec to 3 sec only.
Edited by Mikael Kuisma