-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Support specifying proportion of atoms to be perturbed in System (
#716) See title. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a new parameter for controlled atom perturbation in the perturb function, enhancing flexibility. - **Bug Fixes** - Improved logic for selecting atoms to perturb, ensuring only a specified proportion is affected. - **Tests** - Added a new test class to validate the perturbation functionality for atomic systems, increasing test coverage and reliability. - Introduced a structured representation of a Silicon Carbide crystal for validation in tests. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
1de5ace
commit fb942bb
Showing
3 changed files
with
67 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
C4 Si4 | ||
1.0 | ||
4.0354487481064565e+00 1.1027270790560616e-17 2.5642993008475204e-17 | ||
2.0693526054669642e-01 4.1066892997402196e+00 -8.6715682899078028e-18 | ||
4.2891472979598610e-01 5.5796885749827474e-01 4.1100061517204542e+00 | ||
C Si | ||
4 4 | ||
Cartesian | ||
0.03122504 0.15559669 2.1913045 | ||
1.93908836 -0.08678864 0.06748919 | ||
0.13114716 2.15827511 0.06333341 | ||
2.36161952 1.42824405 2.58837618 | ||
-0.03895165 0.12197669 0.05496244 | ||
1.79528462 2.48830207 -0.55733221 | ||
2.11363589 0.09280028 2.0301803 | ||
0.19221505 2.16245144 2.07930701 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters