-
Notifications
You must be signed in to change notification settings - Fork 158
support to read coord/cell from STRU_ION*_D in abacus/relax #957
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
Open
pxlxingliang
wants to merge
6
commits into
deepmodeling:master
Choose a base branch
from
pxlxingliang:abacus-relax
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
33b6364
support to read coord/cell from STRU_ION*_D in abacus/relax
bf5cf3e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] e3ae51c
fix the bug of unit of cell/coord
2168483
update coords.npy
30797b5
Merge branch 'abacus-relax' of https://github.com/pxlxingliang/dpdata…
5f4745c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| INPUT_PARAMETERS RUNNING ABACUS-DFT | ||
|
|
||
| #Parameters (1.General) | ||
| suffix ABACUS # suffix of OUTPUT DIR | ||
| nspin 1 # 1/2/4 | ||
| symmetry 0 # 0/1 | ||
| esolver_type ksdft # ksdft/ofdft/sdft/tddft/lj/dp | ||
| dft_functional pbe # lda/pbe/scan/hf/pbe0/hse/libxc | ||
| ks_solver genelpa # genelpa/scalapack_avx for lcao, cg/dav for pw | ||
| vdw_method none # d3/d3_bj/none | ||
|
|
||
| #Parameters (2.Iteration) | ||
| calculation cell-relax # scf/relax/cell-relax/md | ||
| ecutwfc 100 # Rydberg, in lcao is for grid density | ||
| scf_thr 1e-7 # Rydberg | ||
| scf_nmax 100 | ||
| #printe 300 # default eq scf_nmax | ||
| relax_nmax 30 | ||
| relax_method bfgs_trad # cg/bfgs/bfgs_trad/sd/"fire" | ||
| force_thr_ev 0.05 | ||
| # stress_thr 1 # GPa | ||
|
|
||
| #Parameters (3.Basis) | ||
| basis_type lcao # lcao or pw | ||
| # kspacing 0.14 0.50 0.14 # replace KPT | ||
| gamma_only 1 # 0/1, replace KPT | ||
|
|
||
| #Parameters (4.Smearing) | ||
| smearing_method mp # mp/gauss/fixed/mp-n/fd | ||
| smearing_sigma 0.008 # Rydberg | ||
|
|
||
| #Parameters (5.Mixing) | ||
| mixing_type broyden # pulay/broyden | ||
| mixing_ndim 20 | ||
| #mixing_beta 0.4 # use default | ||
| #mixing_gg0 1.0 # use default | ||
|
|
||
| #Parameters (6.Calculation) | ||
| cal_force 1 | ||
| cal_stress 1 | ||
| #init_chg atomic # atomic/auto/file | ||
| #init_wfc atomic # atomic/file | ||
| out_stru 1 # print STRU in OUT | ||
| out_chg -1 # -1 no, 0 binary, 1 cube, more number as cube prec | ||
| out_bandgap 1 | ||
| out_mul 1 # print charge and mag of atom in mulliken.txt | ||
| # out_wfc_lcao 0 # 0 no, 1 txt, 2 dat | ||
|
|
||
|
|
||
| # #Parameters (7. Dipole Correction) | ||
| # efield_flag 1 # open added potential, if 0, all below useless | ||
| # dip_cor_flag 1 # open dipole correction | ||
| # efield_dir 1 # direction of dipole correction, 0,1,2 for x,y,z | ||
|
|
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| K_POINTS | ||
| 0 | ||
| Gamma | ||
| 1 1 1 0 0 0 |
34 changes: 34 additions & 0 deletions
34
tests/abacus.relax.readFromSTRUIOND/OUT.ABACUS/STRU_ION1_D
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| ATOMIC_SPECIES | ||
| Ga 69.7230 Ga.upf upf201 | ||
| As 74.9216 As.PD04.PBE.UPF upf201 | ||
|
|
||
| NUMERICAL_ORBITAL | ||
| Ga_gga_7au_100Ry_2s2p2d1f.orb | ||
| As_gga_8au_100Ry_2s2p1d.orb | ||
|
|
||
| LATTICE_CONSTANT | ||
| 1.8897160000 | ||
|
|
||
| LATTICE_VECTORS | ||
| 5.9515362652 -0.0000000000 0.0000000000 | ||
| -0.0000000000 5.9515362652 -0.0000000000 | ||
| 0.0000000000 -0.0000000000 5.9515362652 | ||
|
|
||
| ATOMIC_POSITIONS | ||
| Direct | ||
|
|
||
| Ga #label | ||
| 0.0000 #magnetism | ||
| 4 #number of atoms | ||
| 1.0000000000 0.0000000000 1.0000000000 m 1 1 1 | ||
| 1.0000000000 0.5000000000 0.5000000000 m 1 1 1 | ||
| 0.5000000000 0.0000000000 0.5000000000 m 1 1 1 | ||
| 0.5000000000 0.5000000000 1.0000000000 m 1 1 1 | ||
|
|
||
| As #label | ||
| 0.0000 #magnetism | ||
| 4 #number of atoms | ||
| 0.2500000000 0.2500000000 0.2500000000 m 1 1 1 | ||
| 0.2500000000 0.7500000000 0.7500000000 m 1 1 1 | ||
| 0.7500000000 0.2500000000 0.7500000000 m 1 1 1 | ||
| 0.7500000000 0.7500000000 0.2500000000 m 1 1 1 |
34 changes: 34 additions & 0 deletions
34
tests/abacus.relax.readFromSTRUIOND/OUT.ABACUS/STRU_ION2_D
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| ATOMIC_SPECIES | ||
| Ga 69.7230 Ga.upf upf201 | ||
| As 74.9216 As.PD04.PBE.UPF upf201 | ||
|
|
||
| NUMERICAL_ORBITAL | ||
| Ga_gga_7au_100Ry_2s2p2d1f.orb | ||
| As_gga_8au_100Ry_2s2p1d.orb | ||
|
|
||
| LATTICE_CONSTANT | ||
| 1.8897160000 | ||
|
|
||
| LATTICE_VECTORS | ||
| 6.5556050607 -0.0000000000 0.0000000000 | ||
| -0.0000000000 6.5556050607 -0.0000000000 | ||
| 0.0000000000 -0.0000000000 6.5556050607 | ||
|
|
||
| ATOMIC_POSITIONS | ||
| Direct | ||
|
|
||
| Ga #label | ||
| 0.0000 #magnetism | ||
| 4 #number of atoms | ||
| 1.0000000000 0.0000000000 1.0000000000 m 1 1 1 | ||
| 1.0000000000 0.5000000000 0.5000000000 m 1 1 1 | ||
| 0.5000000000 0.0000000000 0.5000000000 m 1 1 1 | ||
| 0.5000000000 0.5000000000 1.0000000000 m 1 1 1 | ||
|
|
||
| As #label | ||
| 0.0000 #magnetism | ||
| 4 #number of atoms | ||
| 0.2500000000 0.2500000000 0.2500000000 m 1 1 1 | ||
| 0.2500000000 0.7500000000 0.7500000000 m 1 1 1 | ||
| 0.7500000000 0.2500000000 0.7500000000 m 1 1 1 | ||
| 0.7500000000 0.7500000000 0.2500000000 m 1 1 1 |
34 changes: 34 additions & 0 deletions
34
tests/abacus.relax.readFromSTRUIOND/OUT.ABACUS/STRU_ION3_D
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| ATOMIC_SPECIES | ||
| Ga 69.7230 Ga.upf upf201 | ||
| As 74.9216 As.PD04.PBE.UPF upf201 | ||
|
|
||
| NUMERICAL_ORBITAL | ||
| Ga_gga_7au_100Ry_2s2p2d1f.orb | ||
| As_gga_8au_100Ry_2s2p1d.orb | ||
|
|
||
| LATTICE_CONSTANT | ||
| 1.8897160000 | ||
|
|
||
| LATTICE_VECTORS | ||
| 6.3401004195 -0.0000000000 0.0000000000 | ||
| -0.0000000000 6.3401004195 -0.0000000000 | ||
| 0.0000000000 -0.0000000000 6.3401004195 | ||
|
|
||
| ATOMIC_POSITIONS | ||
| Direct | ||
|
|
||
| Ga #label | ||
| 0.0000 #magnetism | ||
| 4 #number of atoms | ||
| 1.0000000000 0.0000000000 1.0000000000 m 1 1 1 | ||
| 1.0000000000 0.5000000000 0.5000000000 m 1 1 1 | ||
| 0.5000000000 0.0000000000 0.5000000000 m 1 1 1 | ||
| 0.5000000000 0.5000000000 1.0000000000 m 1 1 1 | ||
|
|
||
| As #label | ||
| 0.0000 #magnetism | ||
| 4 #number of atoms | ||
| 0.2500000000 0.2500000000 0.2500000000 m 1 1 1 | ||
| 0.2500000000 0.7500000000 0.7500000000 m 1 1 1 | ||
| 0.7500000000 0.2500000000 0.7500000000 m 1 1 1 | ||
| 0.7500000000 0.7500000000 0.2500000000 m 1 1 1 |
34 changes: 34 additions & 0 deletions
34
tests/abacus.relax.readFromSTRUIOND/OUT.ABACUS/STRU_ION4_D
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| ATOMIC_SPECIES | ||
| Ga 69.7230 Ga.upf upf201 | ||
| As 74.9216 As.PD04.PBE.UPF upf201 | ||
|
|
||
| NUMERICAL_ORBITAL | ||
| Ga_gga_7au_100Ry_2s2p2d1f.orb | ||
| As_gga_8au_100Ry_2s2p1d.orb | ||
|
|
||
| LATTICE_CONSTANT | ||
| 1.8897160000 | ||
|
|
||
| LATTICE_VECTORS | ||
| 6.1458183424 -0.0000000000 0.0000000000 | ||
| -0.0000000000 6.1458183424 -0.0000000000 | ||
| 0.0000000000 -0.0000000000 6.1458183424 | ||
|
|
||
| ATOMIC_POSITIONS | ||
| Direct | ||
|
|
||
| Ga #label | ||
| 0.0000 #magnetism | ||
| 4 #number of atoms | ||
| 1.0000000000 0.0000000000 1.0000000000 m 1 1 1 | ||
| 1.0000000000 0.5000000000 0.5000000000 m 1 1 1 | ||
| 0.5000000000 0.0000000000 0.5000000000 m 1 1 1 | ||
| 0.5000000000 0.5000000000 1.0000000000 m 1 1 1 | ||
|
|
||
| As #label | ||
| 0.0000 #magnetism | ||
| 4 #number of atoms | ||
| 0.2500000000 0.2500000000 0.2500000000 m 1 1 1 | ||
| 0.2500000000 0.7500000000 0.7500000000 m 1 1 1 | ||
| 0.7500000000 0.2500000000 0.7500000000 m 1 1 1 | ||
| 0.7500000000 0.7500000000 0.2500000000 m 1 1 1 |
34 changes: 34 additions & 0 deletions
34
tests/abacus.relax.readFromSTRUIOND/OUT.ABACUS/STRU_ION5_D
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| ATOMIC_SPECIES | ||
| Ga 69.7230 Ga.upf upf201 | ||
| As 74.9216 As.PD04.PBE.UPF upf201 | ||
|
|
||
| NUMERICAL_ORBITAL | ||
| Ga_gga_7au_100Ry_2s2p2d1f.orb | ||
| As_gga_8au_100Ry_2s2p1d.orb | ||
|
|
||
| LATTICE_CONSTANT | ||
| 1.8897160000 | ||
|
|
||
| LATTICE_VECTORS | ||
| 6.2881167169 -0.0000000039 -0.0000000010 | ||
| -0.0000000039 6.2881167169 0.0000000005 | ||
| -0.0000000010 0.0000000005 6.2881167191 | ||
|
|
||
| ATOMIC_POSITIONS | ||
| Direct | ||
|
|
||
| Ga #label | ||
| 0.0000 #magnetism | ||
| 4 #number of atoms | ||
| 0.0000000081 0.9999999941 0.9999999959 m 1 1 1 | ||
| 0.0000000081 0.5000000079 0.5000000109 m 1 1 1 | ||
| 0.4999999941 0.9999999941 0.5000000109 m 1 1 1 | ||
| 0.4999999941 0.5000000079 0.9999999959 m 1 1 1 | ||
|
|
||
| As #label | ||
| 0.0000 #magnetism | ||
| 4 #number of atoms | ||
| 0.2499999989 0.2499999990 0.2499999966 m 1 1 1 | ||
| 0.2499999989 0.7499999990 0.7499999966 m 1 1 1 | ||
| 0.7499999989 0.2499999990 0.7499999966 m 1 1 1 | ||
| 0.7499999989 0.7499999990 0.2499999966 m 1 1 1 |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| ATOMIC_SPECIES | ||
| Ga 69.7230 Ga.upf upf201 | ||
| As 74.9216 As.PD04.PBE.UPF upf201 | ||
|
|
||
| NUMERICAL_ORBITAL | ||
| Ga_gga_7au_100Ry_2s2p2d1f.orb | ||
| As_gga_8au_100Ry_2s2p1d.orb | ||
|
|
||
| LATTICE_CONSTANT | ||
| 1.8897160000 | ||
|
|
||
| LATTICE_VECTORS | ||
| 6.2881167169 -0.0000000039 -0.0000000010 | ||
| -0.0000000039 6.2881167169 0.0000000005 | ||
| -0.0000000010 0.0000000005 6.2881167191 | ||
|
|
||
| ATOMIC_POSITIONS | ||
| Direct | ||
|
|
||
| Ga #label | ||
| 0.0000 #magnetism | ||
| 4 #number of atoms | ||
| 0.0000000081 0.9999999941 0.9999999959 m 1 1 1 | ||
| 0.0000000081 0.5000000079 0.5000000109 m 1 1 1 | ||
| 0.4999999941 0.9999999941 0.5000000109 m 1 1 1 | ||
| 0.4999999941 0.5000000079 0.9999999959 m 1 1 1 | ||
|
|
||
| As #label | ||
| 0.0000 #magnetism | ||
| 4 #number of atoms | ||
| 0.2499999989 0.2499999990 0.2499999966 m 1 1 1 | ||
| 0.2499999989 0.7499999990 0.7499999966 m 1 1 1 | ||
| 0.7499999989 0.2499999990 0.7499999966 m 1 1 1 | ||
| 0.7499999989 0.7499999990 0.2499999966 m 1 1 1 |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.