Skip to content

Conversation

@AsTonyshment
Copy link
Collaborator

Linked Issue

Fix #4833, fix #4736.

What's changed?

Now, for RT-TDDFT with an external electric field, the restart process no longer requires modifying the electric field parameters. The program automatically reads the step at which the calculation was interrupted and applies the electric field starting from the restart MD step.

Below is a benchmark: a Heaviside step electric field is applied, which turns off at the 12th MD step. The blue line represents the complete 20-step simulation, the orange line represents the simulation interrupted at the 10th step, and the green line represents the simulation restarted from the 10th step. Their energy curves perfectly overlap, and no changes were made to the electric field parameters in the INPUT file.
combined_energy

@mohanchen mohanchen added Refactor Refactor ABACUS codes Features Needed The features are indeed needed, and developers should have sophisticated knowledge labels Jan 23, 2025
@mohanchen
Copy link
Collaborator

Great job.

@mohanchen mohanchen merged commit 602ebe5 into deepmodeling:develop Jan 23, 2025
14 checks passed
@AsTonyshment AsTonyshment deleted the fix_TDDFT_efield_dat branch January 23, 2025 12:46
Fisherd99 pushed a commit to Fisherd99/abacus-BSE that referenced this pull request Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Features Needed The features are indeed needed, and developers should have sophisticated knowledge Refactor Refactor ABACUS codes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TDDFT restart: efield_*.dat file incorrectly appended when calculation restart RT-TDDFT cannot read wave functions to restart simulations

2 participants