Commit 41402ad
Update shuffle_poscar feature in run.py (#1730)
numpy.random.Generator.shuffle() performs the intended operation of
shuffling the order of atoms. numpy.random.Generator.permuted() permutes
the elements along the given axis, which mixes the coordinates of all
atoms
shuffle

permuted

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Refactor**
- Improved the process that randomizes system coordinates when a
specific option is enabled, enhancing internal data handling and
consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Signed-off-by: ztzkz <95387041+ztzkz@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>1 parent efa1cad commit 41402ad
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1305 | 1305 | | |
1306 | 1306 | | |
1307 | 1307 | | |
1308 | | - | |
| 1308 | + | |
1309 | 1309 | | |
1310 | 1310 | | |
1311 | 1311 | | |
| |||
0 commit comments