Repository navigation
Implement Boundary-Schur method and optimize related algorithms - #56
Merged
Merged
Conversation
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 introduces support for the Boundary-Schur method for lead self-energies, adds the ability to select the self-energy computation method throughout the codebase, and updates the documentation and interfaces accordingly. The main changes are grouped below by theme.
Boundary-Schur Method Implementation:
dpnegf/negf/boundary_self_energy.pyimplementing the Boundary-Schur reduction for lead self-energies, including the main algorithm, diagnostics, and fallback to Sancho-Rubio when not applicable.Interface and API Updates:
integrateanddensity_integrate_Fiorimethods indpnegf/negf/density.pyto accept aself_energy_methodparameter, allowing users to specify which self-energy solver to use (e.g., "Lopez-Sancho", "Boundary-Schur"). All calls to lead self-energy computations now pass this parameter. [1] [2] [3] [4]self_energyandself_energy_calmethods indpnegf/negf/lead_property.pyto support method selection and to ensure correct handling of k-point and energy arguments. [1] [2]prepare_boundary_schur_planindpnegf/negf/lead_property.pyto enable Boundary-Schur plan preparation.Documentation Updates:
docs/input_params/run_options.rstto describe the new self-energy solver options, including the "Boundary-Schur" method, and clarified the behavior of each solver. [1] [2]