Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix&Refactor: soc force/stress error for LCAO code, refactor the forc…
…e/stress code into operator (#5381) * Refactor&Fix: soc force&stress for LCAO * Fix: nspin2 error * Fix: lack of switch_dmr * Test: add coverage of force/stress for SOC, and delete useless code * [pre-commit.ci lite] apply automatic fixes * Fix&Refactor: error of NSPIN=2 and refactor DensityMatrix class * Fix: reference of forces in Gamma_only cases * [pre-commit.ci lite] apply automatic fixes * Fix: change reference of Gamma-only case and SOC case * Fix: nb2d default error with NSPIN=4 * Fix: delete useless code --------- Co-authored-by: dyzheng <[email protected]> Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
- Loading branch information