Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A new function to contract the coordinates after the random generation to ensure that the atoms are not to far apart. #53

Merged

Conversation

jonathan-schoeps
Copy link
Contributor

@jonathan-schoeps jonathan-schoeps commented Oct 7, 2024

A new function contract_coordinates has been added to contract the coordinates after they have been created to ensure that the atoms are not too far apart and that the QM method can converge within a geometry optimization. The contraction works by moving each atom towards the origin. If the atom comes close to another atom, the movement is stopped. It is possible to activate the function via the .toml file or via a flag.
The get_xyz_str function has also been added to be able to print the xyz coordinates to the terminal in the same way as a `.xyz' structure.
Linked to the issues #5 , #7 and part of #24.

jonathan-schoeps and others added 17 commits September 13, 2024 11:30
Signed-off-by: Jonathan Schöps <[email protected]>
Suggest changes to `dev/contract_coordinates` to make code more consist…
Signed-off-by: Jonathan Schöps <[email protected]>
@marcelmbn marcelmbn linked an issue Oct 7, 2024 that may be closed by this pull request
@marcelmbn
Copy link
Member

General remarks on the PR

  • better description of the changes you want to implement
  • better matching title
  • all changes that you've implemented in the CHANGELOG.md (get_xyz_str for example) and in the description of the PR

@marcelmbn marcelmbn added the enhancement New feature or request label Oct 7, 2024
@jonathan-schoeps jonathan-schoeps changed the title Dev/contract coordinates A new function to contract the coordinates after the random generation to ensure that the atoms are not to far apart, Oct 7, 2024
@jonathan-schoeps jonathan-schoeps changed the title A new function to contract the coordinates after the random generation to ensure that the atoms are not to far apart, A new function to contract the coordinates after the random generation to ensure that the atoms are not to far apart. Oct 7, 2024
CHANGELOG.md Outdated Show resolved Hide resolved
mindlessgen.toml Outdated Show resolved Hide resolved
src/mindlessgen/cli/cli_parser.py Show resolved Hide resolved
src/mindlessgen/molecules/generate_molecule.py Outdated Show resolved Hide resolved
src/mindlessgen/molecules/generate_molecule.py Outdated Show resolved Hide resolved
src/mindlessgen/molecules/generate_molecule.py Outdated Show resolved Hide resolved
src/mindlessgen/molecules/generate_molecule.py Outdated Show resolved Hide resolved
src/mindlessgen/prog/config.py Outdated Show resolved Hide resolved
jonathan-schoeps and others added 2 commits October 8, 2024 09:33
Signed-off-by: Jonathan Schöps <[email protected]>
Co-authored-by: Marcel Mueller <[email protected]>
@marcelmbn
Copy link
Member

General comment: Just resolve the conversations which are obviously solved or deprecated (due to updated code).

@jonathan-schoeps jonathan-schoeps merged commit cd6e18f into grimme-lab:main Oct 8, 2024
10 checks passed
@jonathan-schoeps jonathan-schoeps deleted the dev/contract_coordinates branch October 8, 2024 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generate larger mindless molecules Metal cluster possible? More sophisticated coordinate generation
2 participants