~albertog/siesta/4.0-semic-pol-fix

Viewing all changes in revision 591.

  • Committer: Alberto Garcia
  • Date: 2019-01-10 22:48:58 UTC
  • Revision ID: albertog@icmab.es-20190110224858-4eobex1plxqc7us2
Fix 'n' quantum number for high-l polarization orbitals

When a polarization orbital had angular momentum l greater than the
rest of the the basis, its associated principal quantum number n was
off (it was set to the polarized shell's n).

This error affected the metadata in the .ion files, the wavefunction
files, and the PDOS file, so some analysis operations might have
failed to take into account those orbitals if they were requested
explicitly (e.g., a COOP calculation with 'O_3d' symbols might show
the bug; but not one with 'O_d' or 'O').


expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: