Skip to content

Conversation

@A-006
Copy link
Collaborator

@A-006 A-006 commented Dec 30, 2024

Unit Tests and/or Case Tests for my changes

  • A unit test for update_tau_pos has been added .

What's changed?

  • Add bcast_ucell.cpp for bcast_tau_pos.
  • change update_tau_pos in unitcell to the update_ucell.cpp
  • Add comments for functions in the update_ucell.cpp
  • The relax unit test does not really run the update_pos,add the condition for the file
  • The relax unit test have problem in EXPECT_EQ in the test/ions_move_cg_test.cpp:351 with the problem of the tile,use regex and EXPECT_THAT,instead of current file.

Any changes of core modules? (ignore if not applicable)

  • Example: I have added a new virtual function in the esolver base class in order to ...

@mohanchen mohanchen added the The Absolute Zero Reduce the "entropy" of the code to 0 label Dec 31, 2024
@mohanchen mohanchen merged commit c53f445 into deepmodeling:develop Jan 2, 2025
14 checks passed
Fisherd99 pushed a commit to Fisherd99/abacus-BSE that referenced this pull request Mar 31, 2025
* modify periodic_boundary_adjustment

* modify update_pos_tau

* update compile

* delete ucell referenc in update_pos_tau

* add unittest for update_pos_tau

* move back test file

* use EXPECT_THAT instead of EXPECT_EQ in relax_old and use regex to remove the title

* remove the bug in the relax_old for it didn't run update_pos

* [pre-commit.ci lite] apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

The Absolute Zero Reduce the "entropy" of the code to 0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants