abacus-develop
abacus-develop copied to clipboard
Refactor: use less memory to calculate stress in pw base
I have refactored stress code structure in this PR. In case Mg16Al16, the memory cost of stress calculation from 16752 MB to 194 MB.
Linked Issue
Fix #3714
Unit Tests and/or Case Tests for my changes
- A unit test is added for each new feature or bug fix.
What's changed?
- Example: My changes might affect the performance of the application under certain conditions, and I have tested the impact on various scenarios...
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 ...