Improve Nexus handling of excited state calculations #1365
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR improves the Nexus interface to SeeK-path for excited state calculations. The QMCPACK lab on excited states is updated to reflect the new simplified interface.
Interaction with SeeK-path is now pulled up into the Structure class. Users request SeeK-path functionality via two keywords added to generate_structure.
If keyword use_prim is set (
use_prim=True
), the Structure class uses SeeK-path to automatically determine the primitive cell and sets the internal axes and atomic positions to match.If keyword add_kpath is set (
add_kpath=True
), the Structure class uses SeeK-path to automatically add k-points corresponding to high symmetry paths in the first BZ to the structure object. This can be used subsequently to easily perform band structure calculations and select k-points to target for QMC excited state runs.Further refinements to the lab will be made by @kayahans following the merge of this PR.