W90 parser fix + new user options#34
Open
GuiJanone wants to merge 5 commits into
Open
Conversation
Implements a CLI flag "-t" or "--encut" that enhances the previous --states flag for setting a number of states to export by exporting the eigensystem up to an energy set via this flag. Energy cutoff takes priority over number of states cutoff, making it easier to export the states needed to study optical response up to a specific frequency.
Energy cutoff for exporting BSE eigensystem
…of kubo.in file existing
…of states by energy instead of index
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 pull request addresses issue degeneracy #33 about the degeneracy in fock matrices off the
_tb.datwannier90 hamiltonian.Now the parser adjusts accordingly, just like Wannier90 does itself with
fockMatrices.slice(i) /= Degen(i);.This pull request also includes the same features as in pull request Energy cutoff for exporting BSE eigensystem #32:
Implements a CLI flag
-t, --encutthat enhances the previous-n, --statesflag, allowing the user to choose the number of excitons written in.eigvaland.statesbased on their energy, instead of index.This pull request also solves an issue with
kubo_w.f90that previously broke when thekubo_w.infile was not present in the folder.Now, when using the
-aflag, the code checks ifkubo_w.inexists, and if not it writes the full BSE hamiltoinian eigenvalues and oscillator strengths as described in the documentationEn Re(Vx) Im(Vx) Re(Vy) Im(Vy) Re(Vz) Im(Vz)