Skip to content

Refactor: tddft code#2435

Merged
dyzheng merged 53 commits intodeepmodeling:developfrom
lyb9812:refactor_tddft
May 17, 2023
Merged

Refactor: tddft code#2435
dyzheng merged 53 commits intodeepmodeling:developfrom
lyb9812:refactor_tddft

Conversation

@lyb9812
Copy link
Collaborator

@lyb9812 lyb9812 commented May 11, 2023

  1. refactor code in module_tddft, split LCAO_evolve.cpp to several files
  2. simplify esolver_tddft, delete useless codes
  3. add force of electric field for tddft
  4. move read_parameters() of electric field for tddft from H_TDDFT_pw.cpp to input_conv.cpp

lyb9812 and others added 17 commits April 17, 2023 14:51
* Add the dipole and spectrum post-processing script. (deepmodeling#1928)

* Add the Dipole and post-processing script necessary to calculate the spectrum using TDDFT.

* fix td_val test bug.

* Fix: bug in parsing strings mixed with " ", "\t" (deepmodeling#1951)

* Use template to reconstruct parse_expression

* Feature: output R matrix at each MD step

* Modify'matrix_HS' to 'matrix' for R matrix output

* Merge branches 'develop' and 'develop' of https://github.com/1041176461/abacus-develop into develop

* Fix: modify index in parse_expression

* Fix: bug in parsing strings mixed with " ", "\t"

---------

Co-authored-by: jiyuang <jiyuyang@mail.ustc.com>

* solve conflicts

* solve conflicts

* solve conflicts

* solve conflicts

* solve conflicts

* Fix : bug of multi-kpoint for tddft (deepmodeling#2023)

* fix bug of electric field in tddft

* fix bug of dipole and electric field

* fix bug of multi-kpoint for tddft

* unit conversion of out_efield

* delete useless paramters for tddft (td_val_elec*)

* delete useless parameters for tddft

* pack all changes in tddft

* solve conflicts

* delete td_val

---------

Co-authored-by: HeFuxiang94 <78629482+HeFuxiang94@users.noreply.github.com>
Co-authored-by: jiyuyang <1041176461@qq.com>
Co-authored-by: jiyuang <jiyuyang@mail.ustc.com>
* New propagator for better Convergence

* Add files via upload

* Add files via upload

* Modified the code's implementation approach.

I have modified the implementation approach of the code, and this one involves less changes to the original code. It also includes handling for multiple k-points.

* Delete module_esolver directory

* Delete module_hamilt_general directory

* Delete module_hamilt_lcao directory

* Add files via upload
…eling#2272)

* Add the dipole and spectrum post-processing script. (deepmodeling#1928)

* Add the Dipole and post-processing script necessary to calculate the spectrum using TDDFT.

* fix td_val test bug.

* Fix: bug in parsing strings mixed with " ", "\t" (deepmodeling#1951)

* Use template to reconstruct parse_expression

* Feature: output R matrix at each MD step

* Modify'matrix_HS' to 'matrix' for R matrix output

* Merge branches 'develop' and 'develop' of https://github.com/1041176461/abacus-develop into develop

* Fix: modify index in parse_expression

* Fix: bug in parsing strings mixed with " ", "\t"

---------

Co-authored-by: jiyuang <jiyuyang@mail.ustc.com>

* solve conflicts

* solve conflicts

* solve conflicts

* solve conflicts

* solve conflicts

* Fix : bug of multi-kpoint for tddft (deepmodeling#2023)

* fix bug of electric field in tddft

* fix bug of dipole and electric field

* fix bug of multi-kpoint for tddft

* unit conversion of out_efield

* delete useless paramters for tddft (td_val_elec*)

* delete useless parameters for tddft

* pack all changes in tddft

* solve conflicts

* delete td_val

* simplify matrix multiplication and update new propagator for tddft

* add autotests for new propagator

* fix bug of ekb in tddft

* delete temp output

* update ref of new propagator

* update CASES

---------

Co-authored-by: HeFuxiang94 <78629482+HeFuxiang94@users.noreply.github.com>
Co-authored-by: jiyuyang <1041176461@qq.com>
Co-authored-by: jiyuang <jiyuyang@mail.ustc.com>
Co-authored-by: Qianrui <76200646+Qianruipku@users.noreply.github.com>
@lyb9812
Copy link
Collaborator Author

lyb9812 commented May 15, 2023

Fix #1935

Copy link
Collaborator

@dyzheng dyzheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Annotations is almost okay but some unittests is lack.

@dyzheng
Copy link
Collaborator

dyzheng commented May 16, 2023

please fix conflicts for this PR

@dyzheng dyzheng enabled auto-merge (squash) May 17, 2023 02:26
@dyzheng dyzheng merged commit 11e9bca into deepmodeling:develop May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants