Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Non-equilibrium Green's Function module into postprocessing of DeePTB #32

Merged
merged 90 commits into from
Nov 2, 2023

Conversation

floatingCatty
Copy link
Member

@floatingCatty floatingCatty commented Oct 17, 2023

Currently, the modules contain:

  1. NEGF module, which supports the computation of surface green's function, recursive green's function, Ozaki contour integration for density, PDIIS self-consistent iteration.
  2. NEGF's interface with DeePTB run module.
  3. Device and Lead structure class to build two-end devices.

Fix #31

@floatingCatty
Copy link
Member Author

The test failed because the newly introduced tests and modules require updating the dependency list, which is not compiled now.

@QG-phy QG-phy self-requested a review October 20, 2023 03:00
dptb/postprocess/NEGF.py Show resolved Hide resolved
dptb/postprocess/NEGF.py Outdated Show resolved Hide resolved
dptb/postprocess/NEGF.py Outdated Show resolved Hide resolved
dptb/negf/hamiltonian.py Outdated Show resolved Hide resolved
dptb/negf/hamiltonian.py Outdated Show resolved Hide resolved
dptb/negf/surface_green.py Show resolved Hide resolved
dptb/negf/Lead.py Outdated Show resolved Hide resolved
dptb/negf/Lead.py Outdated Show resolved Hide resolved
dptb/structure/device.py Outdated Show resolved Hide resolved
dptb/structure/lead.py Outdated Show resolved Hide resolved
QG-phy added 10 commits November 2, 2023 15:35
rename lead_id to proj_lead_id
1. rename the Property: green to greenfuncs in class DeviceProperty
2. rename the methodn green_function to cal_green_function
1. rename the input para in claass Density.integrate and slice funcion: device -> deviceprop
2. rename the input para in claass Ozaki.integrate funcion: device -> deviceprop,
3. make  corresponding change since the property and method funtion name has changed in DensityProperty.
green > greenfuncs
green_function->cal_green_function
1. make change since the DensityProperty change the property and method
2. make change since the input para name of class Density and Ozaki.
add docstring for calcg0
1. add todo for add common class to set all the dtype and precision.

2. rename self.hamiltonian to self.negf_hamiltonian
Copy link
Collaborator

@QG-phy QG-phy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is a basic version NEGF code, only supports two leads and the Homojunction device.

I reviewed this PR, and found it follows the rules for contributing to DeePTB. I approve this PR.

But developing NEGF still needs a lot of development.

@QG-phy QG-phy merged commit 54d9778 into deepmodeling:main Nov 2, 2023
@floatingCatty floatingCatty deleted the merge_negf branch March 28, 2024 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding Non-equilibrium Green's Function module into postprocessing of DeePTB
3 participants