Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Rewrite interface of hartree_fock function #23

Merged
merged 75 commits into from
Oct 9, 2017

Conversation

mfherbst
Copy link
Contributor

@mfherbst mfherbst commented Sep 12, 2017

  • More general parameter map structure
  • High-level interface using kwargs and low-level interface using an ScfParameters object
  • Update examples to new interface
  • Reimplement forwarding parameters to output state
  • Test re-running calculation from the forwarded parameters
  • Reimplement guess from previous calculation
  • Reimplement writing parameters to hdf5 and yaml archive

This class is now called HfParameters and is much less bloaty.
The input handling is done directly with pointers and numpy arrays
instead of the std::vector<double> structures and similar.

This commit breaks the python interface.
Make the class much more general such that it could be easily
applied to Kohn-Sham problems as well
Easily transfer scf solutions between a description of numpy arrays
and a description of lazyten::Eigensoltion which is used on the c++
sdie.
Makes it easy to obtain and use virtual/occupied subspaces of tensors
running over scf orbital indices.
This way the test does not fail in case the coefficients which are
found by the routine are not exactly the ones in the reference but
related by an unitary rotation.
@mfherbst mfherbst merged commit 314cca5 into master Oct 9, 2017
@mfherbst mfherbst deleted the dev-new-python-interface branch October 9, 2017 13:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant