- Tested Functions:
- H_Ewald_pw::rgen():
- Generates lattice vectors R such that |R - dtau| <= rmax, and returns them sorted by ascending magnitude.
- Tested cases:
- rmax == 0.0: no vectors returned.
- Simple cubic cell, small rmax: correct count + sorted order.
- Large rmax exceeding original fixed mxr=200 limit: verifies that the dynamic mxr sizing introduced in the bug fix works correctly and does not overflow the allocated arrays.
◆ SetUp()
◆ dtau
◆ latvec
The documentation for this class was generated from the following file:
- /home/runner/work/abacus-develop/abacus-develop/source/source_hamilt/test/rgen_test.cpp