Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,16 @@ dpnegf/tests/data/test_tbtrans/show.ipynb
# tutorial files
examples/graphene/negf_output_k20/self_energy/self_energy_leadL.h5
examples/graphene/negf_output_k20/self_energy/self_energy_leadR.h5

examples/hBN/negf_output_k20/self_energy/self_energy_leadL.h5
examples/hBN/negf_output_k20/self_energy/self_energy_leadR.h5
examples/hBN/negf_output_k50/self_energy/*
examples/hBN/negf_output_k100/self_energy/*
examples/hBN/negf_output_k70/self_energy/*




run_config.json
dpnegf/nnet/__pycache__/
dpnegf/sktb/__pycache__/
Expand Down
175 changes: 144 additions & 31 deletions docs/hands_on/tutorial2_2d_mat.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/MoS2/negf.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"structure":"./struct_negf.xyz",
"structure":"./stru_negf.xyz",
"task_options":
{
"task": "negf",
Expand All @@ -11,7 +11,7 @@
"gamma_center": false,
"time_reversal_symmetry": true,
"nel_atom": {"Mo":6,"S":6},
"kmesh":[1,1,1],
"kmesh":[100,1,1],
"pbc":[true, false, false],
"device":{
"id":"24-48",
Expand Down
Binary file added examples/MoS2/negf_output_k100/negf.out.pth
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/graphene/negf.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"structure":"./struct_negf.xyz",
"structure":"./stru_negf.xyz",
"task_options":
{
"task": "negf",
Expand Down
52 changes: 52 additions & 0 deletions examples/graphene/negf_time_bench.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"structure":"./stru_negf_time_bench.xyz",
"task_options":
{
"task": "negf",
"scf": false,
"block_tridiagonal": true,
"ele_T": 300,
"unit": "eV",
"stru_options":{
"gamma_center": false,
"time_reversal_symmetry": true,
"nel_atom": {"C": 4},
"kmesh":[1,1,1],
"pbc":[false, true, false],
"device":{
"id":"32-80",
"sort": true
},
"lead_L":{
"id":"0-32",
"voltage":0.0,
"kmesh_lead_Ef":[1,50,20],
"useBloch": false
},
"lead_R":{
"id":"80-112",
"voltage":0.0,
"kmesh_lead_Ef":[1,50,20],
"useBloch": false
}
},
"density_options": {
"method": "Fiori",
"integrate_way": "direct"
},
"poisson_options": {
"solver": "fmm",
"err": 1e-5
},
"sgf_solver": "Sancho-Rubio",
"espacing": 0.025,
"emin": -2.5,
"emax": 2.5,
"eta_lead":1e-5,
"eta_device":0.0,
"out_dos": false,
"out_tc": true,
"out_ldos": false,
"out_current_nscf": false
}
}
114 changes: 114 additions & 0 deletions examples/graphene/stru_negf_time_bench.xyz
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
112
Lattice="30.0 0.0 0.0 0.0 5.0079999 0.0 0.0 0.0 104.0893232" Properties=species:S:1:pos:R:3 nsc="1 1 1" boundary_condition="PERIODIC PERIODIC PERIODIC PERIODIC PERIODIC PERIODIC" pbc="T T T"
C 15.00000000 1.87799996 9.03553153
C 15.00000000 4.38199991 9.03553153
C 15.00000000 1.87799996 10.48121658
C 15.00000000 4.38199991 10.48121658
C 15.00000000 0.62599999 11.20405910
C 15.00000000 3.12999994 11.20405910
C 15.00000000 0.62599999 12.64974414
C 15.00000000 3.12999994 12.64974414
C 15.00000000 1.87799996 13.37258666
C 15.00000000 4.38199991 13.37258666
C 15.00000000 1.87799996 14.81827171
C 15.00000000 4.38199991 14.81827171
C 15.00000000 0.62599999 15.54111423
C 15.00000000 3.12999994 15.54111423
C 15.00000000 0.62599999 16.98679928
C 15.00000000 3.12999994 16.98679928
C 15.00000000 1.87799996 0.36142126
C 15.00000000 4.38199991 0.36142126
C 15.00000000 1.87799996 1.80710631
C 15.00000000 4.38199991 1.80710631
C 15.00000000 0.62599999 2.52994883
C 15.00000000 3.12999994 2.52994883
C 15.00000000 0.62599999 3.97563387
C 15.00000000 3.12999994 3.97563387
C 15.00000000 1.87799996 4.69847639
C 15.00000000 4.38199991 4.69847639
C 15.00000000 1.87799996 6.14416144
C 15.00000000 4.38199991 6.14416144
C 15.00000000 0.62599999 6.86700396
C 15.00000000 3.12999994 6.86700396
C 15.00000000 0.62599999 8.31268901
C 15.00000000 3.12999994 8.31268901
C 15.00000000 1.87799996 17.70964179
C 15.00000000 4.38199991 17.70964179
C 15.00000000 1.87799996 19.15532684
C 15.00000000 4.38199991 19.15532684
C 15.00000000 0.62599999 19.87816936
C 15.00000000 3.12999994 19.87816936
C 15.00000000 0.62599999 21.32385440
C 15.00000000 3.12999994 21.32385440
C 15.00000000 1.87799996 22.04669692
C 15.00000000 4.38199991 22.04669692
C 15.00000000 1.87799996 23.49238197
C 15.00000000 4.38199991 23.49238197
C 15.00000000 0.62599999 24.21522449
C 15.00000000 3.12999994 24.21522449
C 15.00000000 0.62599999 25.66090954
C 15.00000000 3.12999994 25.66090954
C 15.00000000 1.87799996 26.38375206
C 15.00000000 4.38199991 26.38375206
C 15.00000000 1.87799996 27.82943711
C 15.00000000 4.38199991 27.82943711
C 15.00000000 0.62599999 28.55227963
C 15.00000000 3.12999994 28.55227963
C 15.00000000 0.62599999 29.99796467
C 15.00000000 3.12999994 29.99796467
C 15.00000000 1.87799996 30.72080719
C 15.00000000 4.38199991 30.72080719
C 15.00000000 1.87799996 32.16649224
C 15.00000000 4.38199991 32.16649224
C 15.00000000 0.62599999 32.88933476
C 15.00000000 3.12999994 32.88933476
C 15.00000000 0.62599999 34.33501981
C 15.00000000 3.12999994 34.33501981
C 15.00000000 1.87799996 35.05786233
C 15.00000000 4.38199991 35.05786233
C 15.00000000 1.87799996 36.50354738
C 15.00000000 4.38199991 36.50354738
C 15.00000000 0.62599999 37.22638990
C 15.00000000 3.12999994 37.22638990
C 15.00000000 0.62599999 38.67207494
C 15.00000000 3.12999994 38.67207494
C 15.00000000 1.87799996 39.39491746
C 15.00000000 4.38199991 39.39491746
C 15.00000000 1.87799996 40.84060251
C 15.00000000 4.38199991 40.84060251
C 15.00000000 0.62599999 41.56344503
C 15.00000000 3.12999994 41.56344503
C 15.00000000 0.62599999 43.00913008
C 15.00000000 3.12999994 43.00913008
C 15.00000000 1.87799996 43.73197259
C 15.00000000 4.38199991 43.73197259
C 15.00000000 1.87799996 45.17765764
C 15.00000000 4.38199991 45.17765764
C 15.00000000 0.62599999 45.90050016
C 15.00000000 3.12999994 45.90050016
C 15.00000000 0.62599999 47.34618520
C 15.00000000 3.12999994 47.34618520
C 15.00000000 1.87799996 48.06902772
C 15.00000000 4.38199991 48.06902772
C 15.00000000 1.87799996 49.51471277
C 15.00000000 4.38199991 49.51471277
C 15.00000000 0.62599999 50.23755529
C 15.00000000 3.12999994 50.23755529
C 15.00000000 0.62599999 51.68324034
C 15.00000000 3.12999994 51.68324034
C 15.00000000 1.87799996 52.40608286
C 15.00000000 4.38199991 52.40608286
C 15.00000000 1.87799996 53.85176791
C 15.00000000 4.38199991 53.85176791
C 15.00000000 0.62599999 54.57461043
C 15.00000000 3.12999994 54.57461043
C 15.00000000 0.62599999 56.02029547
C 15.00000000 3.12999994 56.02029547
C 15.00000000 1.87799996 56.74313799
C 15.00000000 4.38199991 56.74313799
C 15.00000000 1.87799996 58.18882304
C 15.00000000 4.38199991 58.18882304
C 15.00000000 0.62599999 58.91166556
C 15.00000000 3.12999994 58.91166556
C 15.00000000 0.62599999 60.35735061
C 15.00000000 3.12999994 60.35735061
10 changes: 5 additions & 5 deletions examples/hBN/negf.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"structure":"./struct_negf.xyz",
"structure":"./stru_negf.xyz",
"task_options":
{
"task": "negf",
Expand All @@ -12,7 +12,7 @@
"time_reversal_symmetry": true,
"nel_atom": {"B": 3,
"N": 5},
"kmesh":[1,1,1],
"kmesh":[1,100,1],
"pbc":[false, true, false],
"device":{
"id":"32-64",
Expand Down Expand Up @@ -40,9 +40,9 @@
"err": 1e-5
},
"sgf_solver": "Sancho-Rubio",
"espacing": 0.05,
"emin": -10,
"emax": 10,
"espacing": 0.025,
"emin": -2.5,
"emax": 2.5,
"eta_lead":1e-5,
"eta_device":0.0,
"out_dos": true,
Expand Down
Binary file added examples/hBN/negf_output_k70/negf.out.pth
Binary file not shown.
53 changes: 53 additions & 0 deletions examples/hBN/negf_time_bench.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"structure":"./stru_negf_time_bench.xyz",
"task_options":
{
"task": "negf",
"scf": false,
"block_tridiagonal": true,
"ele_T": 300,
"unit": "eV",
"stru_options":{
"gamma_center": false,
"time_reversal_symmetry": true,
"nel_atom": {"B": 3,
"N": 5},
"kmesh":[1,1,1],
"pbc":[false, true, false],
"device":{
"id":"32-80",
"sort": true
},
"lead_L":{
"id":"0-32",
"voltage":0.0,
"kmesh_lead_Ef":[1,50,20],
"useBloch": false
},
"lead_R":{
"id":"80-112",
"voltage":0.0,
"kmesh_lead_Ef":[1,50,20],
"useBloch": false
}
},
"density_options": {
"method": "Fiori",
"integrate_way": "direct"
},
"poisson_options": {
"solver": "fmm",
"err": 1e-5
},
"sgf_solver": "Sancho-Rubio",
"espacing": 0.025,
"emin": -2,
"emax": 2,
"eta_lead":1e-5,
"eta_device":0.0,
"out_dos": false,
"out_tc": true,
"out_ldos": false,
"out_current_nscf": false
}
}
Loading