cclib icon indicating copy to clipboard operation
cclib copied to clipboard

Allow writing of natural orbitals to the molden file instead of MOs

Open shivupa opened this issue 4 years ago • 5 comments

This will need to be rebased on #945

This adds a flag to write natural orbitals if they are present. Since the corresponding eigenvalues are occupation numbers rather than mo energies, the mo energies are just set to the occupation numbers. Let me know if this sounds inappropriate.

To Do: Add test

shivupa avatar Sep 22 '20 20:09 shivupa

@shivupa Did you want to squeeze this into v.1.6.4?

langner avatar Sep 22 '20 21:09 langner

No I think it's fine to have this go to v1.6.5

shivupa avatar Sep 22 '20 21:09 shivupa

Not having looked at the Molden "spec" in a while, do you know if [MO] is the only MO section, or is there another dedicated section that can be used?

berquist avatar Sep 23 '20 15:09 berquist

It seems like that isn't an option https://www.cmbi.ru.nl/molden/molden_format.html Also it seems like other code write non-MOs to the MO tag https://github.com/psi4/psi4/issues/504 and associated issues.

shivupa avatar Sep 26 '20 05:09 shivupa

Poke.

berquist avatar Jul 05 '21 21:07 berquist

I put it in the order it is written to the file

shivupa avatar May 16 '23 04:05 shivupa