-
Notifications
You must be signed in to change notification settings - Fork 161
adapt abacus/md interface to MD output without stress calculation. #301
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
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
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,27 @@ | ||
| INPUT_PARAMETERS | ||
| #Parameters (General) | ||
| suffix autotest | ||
| pseudo_dir ./ | ||
| ntype 1 | ||
| nbands 8 | ||
| calculation md | ||
|
|
||
| #Parameters (Accuracy) | ||
| ecutwfc 20 | ||
| scf_nmax 20 | ||
|
|
||
| basis_type pw | ||
| md_nstep 3 | ||
|
|
||
| #cal_stress 1 | ||
| stress_thr 1e-6 | ||
| cal_force 1 | ||
| force_thr_ev 1.0e-3 | ||
|
|
||
| ks_solver cg | ||
| mixing_type pulay | ||
| mixing_beta 0.7 | ||
|
|
||
| md_type -1 | ||
| md_dt 1 | ||
| md_tfirst 0 |
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,44 @@ | ||
| MDSTEP: 0 | ||
| LATTICE_CONSTANT: 10.200000000000 | ||
| LATTICE_VECTORS | ||
| 0.500000000000 0.500000000000 0.000000000000 | ||
| 0.500000000000 0.000000000000 0.500000000000 | ||
| 0.000000000000 0.500000000000 0.500000000000 | ||
| INDEX LABEL POSITIONS FORCE (eV/Angstrom) | ||
| 0 Si 0.000000000000 0.000000000000 0.000000000000 -0.885362725259 0.500467424429 0.150239620221 | ||
| 1 Si 0.241000000000 0.255000000000 0.250999999999 0.885362725259 -0.500467424429 -0.150239620221 | ||
|
|
||
|
|
||
| MDSTEP: 1 | ||
| LATTICE_CONSTANT: 10.200000000000 | ||
| LATTICE_VECTORS | ||
| 0.500000000000 0.500000000000 0.000000000000 | ||
| 0.500000000000 0.000000000000 0.500000000000 | ||
| 0.000000000000 0.500000000000 0.500000000000 | ||
| INDEX LABEL POSITIONS FORCE (eV/Angstrom) | ||
| 0 Si 0.999208682339 0.500447306737 0.500134280856 -0.728804779648 0.408578746723 0.107042476463 | ||
| 1 Si 0.241791317661 0.254552693263 0.250865719143 0.728804779648 -0.408578746723 -0.107042476463 | ||
|
|
||
|
|
||
| MDSTEP: 2 | ||
| LATTICE_CONSTANT: 10.200000000000 | ||
| LATTICE_VECTORS | ||
| 0.500000000000 0.500000000000 0.000000000000 | ||
| 0.500000000000 0.000000000000 0.500000000000 | ||
| 0.000000000000 0.500000000000 0.500000000000 | ||
| INDEX LABEL POSITIONS FORCE (eV/Angstrom) | ||
| 0 Si 0.997114226602 0.501624803733 0.500458153134 -0.316038867402 0.171613491764 0.014802659803 | ||
| 1 Si 0.243885773398 0.253375196267 0.250541846865 0.316038867402 -0.171613491764 -0.014802659803 | ||
|
|
||
|
|
||
| MDSTEP: 3 | ||
| LATTICE_CONSTANT: 10.200000000000 | ||
| LATTICE_VECTORS | ||
| 0.500000000000 0.500000000000 0.000000000000 | ||
| 0.500000000000 0.000000000000 0.500000000000 | ||
| 0.000000000000 0.500000000000 0.500000000000 | ||
| INDEX LABEL POSITIONS FORCE (eV/Angstrom) | ||
| 0 Si 0.994451593844 0.503106810892 0.500786060548 0.204324467775 -0.117398116295 -0.052955519257 | ||
| 1 Si 0.246548406156 0.251893189108 0.250213939451 -0.204324467775 0.117398116295 0.052955519257 | ||
|
|
||
|
|
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line is useless.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Jinzhe. I think the line is helpful in recognizing the keywords are in the right place of the file, so I kept the lines.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you delete
nframes_dump, it will still be defined in the successive conditional lines. But I think keeping this line is also okay.