Skip to content

Conversation

@YuLiu98
Copy link
Collaborator

@YuLiu98 YuLiu98 commented Nov 22, 2024

What's changed?

  • remove GlobalC::ucell in esolver

@YuLiu98 YuLiu98 added the The Absolute Zero Reduce the "entropy" of the code to 0 label Nov 22, 2024
@kirk0830
Copy link
Collaborator

kirk0830 commented Nov 23, 2024

this is really a fantastic PR, it reduces the coupling between the specific structure (described by UnitCell instance) and method to calculate energy/force/stress/... and motions. What I care additionally is the possibility of handling more than one structures simultaneously, this PR at least makes it possible.

@mohanchen mohanchen merged commit 4ac1e8a into deepmodeling:develop Nov 24, 2024
14 checks passed
@YuLiu98 YuLiu98 deleted the refactor branch November 25, 2024 02:09
Fisherd99 pushed a commit to Fisherd99/abacus-BSE that referenced this pull request Mar 31, 2025
* Refactor: remove GlobalC::ucell in esolver

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

* update next_direct

* Refactor: put ucell as the first parameter

* rename cell to ucell

* update unitests

* update opt_TN.hpp

---------

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.

3 participants