forked from abacusmodeling/abacus-develop
-
Notifications
You must be signed in to change notification settings - Fork 145
[Feature] Add current dependent potential for TD-OFDFT #6593
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
30 commits
Select commit
Hold shift + click to select a range
ccb8a5d
add esolver_of_tddft
lyb9812 96dd8cc
esolver_of_tddft cmakelist
lyb9812 c87639c
move memeber function of esolver_of_tddft to module_ofdft
lyb9812 d311eb3
fix bug (confuse evolve_psi with evolve_phi)
lyb9812 262c4e5
change evolve_phi with evolve_ofdft; change to vector
lyb9812 020cd9d
Merge branch 'develop' into develop
lyb9812 c577829
Merge branch 'develop' of https://github.com/deepmodeling/abacus-deve…
lyb9812 70a0204
Merge branch 'develop' of https://github.com/lyb9812/abacus-develop i…
lyb9812 e65e75b
Merge branch 'develop' into develop
sunliang98 5acb224
Merge branch 'develop' of https://github.com/deepmodeling/abacus-deve…
lyb9812 d38224d
details
lyb9812 a252d05
Merge branch 'develop' of https://github.com/lyb9812/abacus-develop i…
lyb9812 cde47d3
code optimization
lyb9812 ea55c5c
Merge branch 'develop' of https://github.com/deepmodeling/abacus-deve…
lyb9812 a35a7ae
add situation of reading charge file for tdofdft
lyb9812 ef29159
add CD Potential
lyb9812 2eeb5e9
add INPUT parameters for tdofdft
lyb9812 37d3bf5
add integrate test for TDOFDFT
lyb9812 d8dead8
update doc file for tdofdft
lyb9812 5bad0d0
solve conflicts
lyb9812 51644c2
solve conflict
lyb9812 22b88fc
type transformation
lyb9812 a917e0b
type transformation
lyb9812 e595068
Merge branch 'develop' of https://github.com/deepmodeling/abacus-deve…
lyb9812 4c0a683
move integration test for TDOFDFT to 07_OFDFT
lyb9812 824e014
add judgement for nspin in TDOFDFT
lyb9812 040af90
add judgement for nspin in TDOFDFT
lyb9812 967d41f
Merge branch 'develop' of https://github.com/deepmodeling/abacus-deve…
lyb9812 e3fdd3e
TDOFDFT integration test
lyb9812 b278f26
change type of warning
lyb9812 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
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,36 @@ | ||
| INPUT_PARAMETERS | ||
| #Parameters (1.General) | ||
| suffix autotest | ||
| calculation md | ||
| esolver_type tdofdft | ||
|
|
||
| pseudo_dir ../../PP_ORB | ||
| pseudo_rcut 16 | ||
| cal_force 1 | ||
| cal_stress 1 | ||
|
|
||
| #Parameters (2.Iteration) | ||
| ecutwfc 17 | ||
| scf_nmax 100 | ||
|
|
||
| #OFDFT | ||
| of_kinetic tf+ | ||
| of_method tn | ||
| of_full_pw 1 | ||
| of_full_pw_dim 1 | ||
| of_cd 0 | ||
|
|
||
| #Parameters (3.Basis) | ||
| basis_type pw | ||
|
|
||
| init_vel 1 | ||
|
|
||
| md_restart 0 | ||
| md_type nve | ||
| md_nstep 2 | ||
| md_dt 0.25 | ||
| md_tfirst 58022.52706 | ||
| md_dumpfreq 10 | ||
| md_tfreq 1.08 | ||
| md_tchain 1 | ||
| nbspline 10 # be sure fft dimension is odd |
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 |
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 @@ | ||
| Test case without current dependent potential in TDOFDFT |
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,19 @@ | ||
| ATOMIC_SPECIES | ||
| Al 26.98 al.lda.lps blps | ||
|
|
||
| LATTICE_CONSTANT | ||
| 7.50241114482312 // add lattice constant | ||
|
|
||
| LATTICE_VECTORS | ||
| 0.000000000000 0.500000000000 0.500000000000 | ||
| 0.500000000000 0.000000000000 0.500000000000 | ||
| 0.500000000000 0.500000000000 0.000000000000 | ||
|
|
||
| ATOMIC_POSITIONS | ||
| Direct | ||
|
|
||
| Al | ||
| 0 | ||
| 2 | ||
| 0.000000000000 0.000000000000 0.000000000000 1 1 1 v 0 0 0.5 | ||
| 0.500000000000 0.500000000000 0.500000000000 1 1 1 v 0 0 -0.5 |
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,5 @@ | ||
| etotref -100.6027239728818614 | ||
| etotperatomref -50.3013619864 | ||
| totalforceref 5.786358 | ||
| totalstressref 11367.508779 | ||
| totaltimeref 0.10 |
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,37 @@ | ||
| INPUT_PARAMETERS | ||
| #Parameters (1.General) | ||
| suffix autotest | ||
| calculation md | ||
| esolver_type tdofdft | ||
|
|
||
| pseudo_dir ../../PP_ORB | ||
| pseudo_rcut 16 | ||
| cal_force 1 | ||
| cal_stress 1 | ||
|
|
||
| #Parameters (2.Iteration) | ||
| ecutwfc 17 | ||
| scf_nmax 100 | ||
|
|
||
| #OFDFT | ||
| of_kinetic tf+ | ||
| of_method tn | ||
| of_full_pw 1 | ||
| of_full_pw_dim 1 | ||
| of_cd 1 | ||
| of_mcd_alpha 1.0 | ||
|
|
||
| #Parameters (3.Basis) | ||
| basis_type pw | ||
|
|
||
| init_vel 1 | ||
|
|
||
| md_restart 0 | ||
| md_type nve | ||
| md_nstep 2 | ||
| md_dt 0.25 | ||
| md_tfirst 58022.52706 | ||
| md_dumpfreq 10 | ||
| md_tfreq 1.08 | ||
| md_tchain 1 | ||
| nbspline 10 # be sure fft dimension is odd |
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 |
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 @@ | ||
| Test case with current dependent potential in TDOFDFT |
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,19 @@ | ||
| ATOMIC_SPECIES | ||
| Al 26.98 al.lda.lps blps | ||
|
|
||
| LATTICE_CONSTANT | ||
| 7.50241114482312 // add lattice constant | ||
|
|
||
| LATTICE_VECTORS | ||
| 0.000000000000 0.500000000000 0.500000000000 | ||
| 0.500000000000 0.000000000000 0.500000000000 | ||
| 0.500000000000 0.500000000000 0.000000000000 | ||
|
|
||
| ATOMIC_POSITIONS | ||
| Direct | ||
|
|
||
| Al | ||
| 0 | ||
| 2 | ||
| 0.000000000000 0.000000000000 0.000000000000 1 1 1 v 0 0 0.5 | ||
| 0.500000000000 0.500000000000 0.500000000000 1 1 1 v 0 0 -0.5 |
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,5 @@ | ||
| etotref -100.6027239728818614 | ||
| etotperatomref -50.3013619864 | ||
| totalforceref 5.786358 | ||
| totalstressref 11367.508779 | ||
| totaltimeref 0.13 |
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.