forked from abacusmodeling/abacus-develop
-
Notifications
You must be signed in to change notification settings - Fork 153
Fix: Incorrect negative signs in length gague RT-TDDFT #4871
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
mohanchen
merged 12 commits into
deepmodeling:develop
from
AsTonyshment:TDDFT_minus_sign
Aug 4, 2024
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
0275253
Fix sign mistake of efield in length-gauge TDDFT
AsTonyshment 5b10c5f
Merge branch 'TDDFT_minus_sign' of github.com:AsTonyshment/abacus-dev…
AsTonyshment f1581a8
Check if dipole writing is correct
AsTonyshment 16f341b
Merge branch 'deepmodeling:develop' into TDDFT_minus_sign
AsTonyshment 90eab35
Update integrated test 601_NO_TDDFT_H2_len_current
AsTonyshment 1adc788
Update integrated test 601_NO_TDDFT_H2_len_gauss and 601_NO_TDDFT_H2_…
AsTonyshment ca454cb
Update integrated test 601_NO_TDDFT_H2_len_heavi
AsTonyshment 133fadf
Update integrated test 601_NO_TDDFT_H2_len_hhg
AsTonyshment 979d3cb
Update integrated test 601_NO_TDDFT_H2_len_trape
AsTonyshment 0d0fb60
Update integrated test 601_NO_TDDFT_H2_len_trigo
AsTonyshment 1cfdf94
Replace raw pointers with std::vector in update_At
AsTonyshment 24e366b
Optimize loop calculations by reducing redundant expressions in write…
AsTonyshment 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
4 changes: 2 additions & 2 deletions
4
tests/integrate/601_NO_TDDFT_H2_len_current/refcurrent_total.dat
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 |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| 0 0.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 | ||
| 1 0.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 | ||
| 2 4.2068003950947370e-04 -3.6201227751435700e-05 -5.7838914079840259e-05 | ||
| 3 -1.7465510685220912e-04 -9.7934211131431987e-05 -1.5648656468267278e-04 | ||
| 2 -4.2482488063038011e-04 3.6208093141272442e-05 5.7880862345902912e-05 | ||
| 3 1.7506474069499989e-04 9.7936761289276890e-05 1.5650847511644919e-04 |
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 |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| etotref -30.91255703869593 | ||
| etotperatomref -15.4562785193 | ||
| totalforceref 0.459640 | ||
| totalstressref 0.945730 | ||
| etotref -30.91255706614114 | ||
| etotperatomref -15.4562785331 | ||
| totalforceref 0.459938 | ||
| totalstressref 0.946457 | ||
| CompareCurrent_pass 0 | ||
| totaltimeref 1.72 |
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 |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| etotref -31.36940219279552 | ||
| etotperatomref -15.6847010964 | ||
| totalforceref 0.574354 | ||
| totalstressref 5.532849 | ||
| etotref -30.45477750879012 | ||
| etotperatomref -15.2273887544 | ||
| totalforceref 0.574814 | ||
| totalstressref 4.287440 | ||
| totaltimeref 1.57 |
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 |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| etotref -31.36928614218948 | ||
| etotperatomref -15.6846430711 | ||
| totalforceref 0.572958 | ||
| totalstressref 5.533528 | ||
| etotref -30.45466274119030 | ||
| etotperatomref -15.2273313706 | ||
| totalforceref 0.573436 | ||
| totalstressref 4.285714 | ||
| totaltimeref 1.55 |
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 |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| etotref -38.85688376698273 | ||
| etotperatomref -19.4284418835 | ||
| totalforceref 0.564906 | ||
| totalstressref 77.567005 | ||
| etotref -22.97718184915547 | ||
| etotperatomref -11.4885909246 | ||
| totalforceref 0.564908 | ||
| totalstressref 76.073961 | ||
| totaltimeref 1.56 |
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 |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| etotref -82.62629897647498 | ||
| etotperatomref -41.3131494882 | ||
| totalforceref 0.748884 | ||
| totalstressref 501.373588 | ||
| etotref 20.38731422853930 | ||
| etotperatomref 10.1936571143 | ||
| totalforceref 0.738256 | ||
| totalstressref 489.377111 | ||
| totaltimeref 1.56 |
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 |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| etotref -30.92452072277197 | ||
| etotperatomref -15.4622603614 | ||
| totalforceref 0.574664 | ||
| totalstressref 1.256903 | ||
| etotref -30.89965242483882 | ||
| etotperatomref -15.4498262124 | ||
| totalforceref 0.574662 | ||
| totalstressref 1.034216 | ||
| totaltimeref 1.44 |
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.