forked from abacusmodeling/abacus-develop
-
Notifications
You must be signed in to change notification settings - Fork 221
feat(input, kpoints): support shifted kspacing mesh with koffset and kmesh_type #7247
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
Merged
Cstandardlib
merged 10 commits into
deepmodeling:develop
from
Cstandardlib:feat/kspacing-shift
Apr 17, 2026
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
87910ae
feat(input, kpoints): support shifted kspacing mesh with koffset and …
Cstandardlib 27c865b
revert input-main.md
Cstandardlib 8379769
Fix headers
Cstandardlib 8f74bbb
Use sync_string instead of sync_string to be case insensitive
Cstandardlib 81bbaa2
add test case for kspacing koffset kmesh_type
Cstandardlib 58ce856
add test case for kspacing koffset kmesh_type
Cstandardlib daba8e3
clean test case for kspacing koffset kmesh_type
Cstandardlib 3edbfa0
Update CASES_CPU
Cstandardlib ba6d9d3
Merge branch 'develop' into feat/kspacing-shift
Cstandardlib 25093ad
Merge branch 'develop' into feat/kspacing-shift
mohanchen 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
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
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,23 @@ | ||
| INPUT_PARAMETERS | ||
| suffix autotest | ||
| calculation scf | ||
| init_wfc random | ||
|
|
||
| symmetry 1 | ||
| ecutwfc 5 | ||
| scf_thr 1e-06 | ||
| scf_nmax 30 | ||
| basis_type pw | ||
| latname bco | ||
|
|
||
| mixing_type broyden | ||
| mixing_beta 0.4 | ||
|
|
||
| smearing_method gaussian | ||
| smearing_sigma 0.02 | ||
|
|
||
| kspacing 0.6 | ||
| koffset 0.5 0.5 0.5 | ||
| kmesh_type gamma | ||
| pseudo_dir ../../PP_ORB | ||
| pw_seed 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,2 @@ | ||
| fast integration case for kspacing-generated shifted Gamma mesh | ||
| covers new INPUT parameters: koffset and kmesh_type |
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,22 @@ | ||
| #This is the atom file containing all the information | ||
| #about the lattice structure. | ||
|
|
||
| ATOMIC_SPECIES | ||
| H 1.0008 H_ONCV_PBE-1.0.upf | ||
|
|
||
| NUMERICAL_ORBITAL | ||
| H_gga_6au_60Ry_2s1p.orb | ||
|
|
||
| LATTICE_CONSTANT | ||
| 10.0 #Lattice constant | ||
|
|
||
| LATTICE_PARAMETERS | ||
| 1.5 2.0 | ||
|
|
||
| ATOMIC_POSITIONS | ||
| Cartesian #Cartesian(Unit is LATTICE_CONSTANT) | ||
| H #Name of element | ||
| 0.0 #Magnetic for this element. | ||
| 2 #Number of atoms | ||
| 0.00 0.00 -0.0661400 0 0 0 #x,y,z, move_x, move_y, move_z | ||
| 0.00 0.00 0.0661400 0 0 0 #x,y,z, move_x, move_y, move_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,6 @@ | ||
| etotref -27.08734962492505 | ||
| etotperatomref -13.5436748125 | ||
| pointgroupref D_2h | ||
| spacegroupref D_2h | ||
| nksibzref 2 | ||
| totaltimeref 0.28 |
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
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.