~albertog/siesta/trunk-elsi-dm

Viewing all changes in revision 691.

  • Committer: Alberto Garcia
  • Date: 2018-08-30 15:36:54 UTC
  • Revision ID: albertog@icmab.es-20180830153654-pgdgqeeba084o82g
Change the spin-reduction convention for entropy

For ELSI versions after 2018-08-17, there is no need to reduce over spins
when computing the entropy.

To use older versions (such as the 2.0.2 release), use the preprocessor symbol

    SIESTA__ELSI__OLD_SPIN_CONVENTION

If the version is 'old', but the above symbol is not used, a compilation error will
be triggered. (This works by means of a call to 'elsi_get_datestamp', which was added just
around the same time as the spin-reduction-convention change: Aug 17 vs Aug 21, 2018.
ELSI versions in between will not work without further intervention.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: