Skip to content

SOF-7599 update: use new made for slab generation #227

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

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

VsevolodX
Copy link
Member

No description provided.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@@ -42,12 +42,12 @@
"cell_type": "code",
Copy link
Member

@timurbazhirov timurbazhirov May 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should use get_slabs from crystal_lattice_planes


Reply via ReviewNB

@@ -42,12 +42,12 @@
"cell_type": "code",
Copy link
Member

@timurbazhirov timurbazhirov Jun 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line #2.    print("Available terminations:", [str(t) for t in terminations])

The numbering needs to be fixed, the logic should be:

2. Find possible terminations and select one

  • Create CrystalPlanes
  • Get all unique slabs and their corresponding terminations
  • Visualize all slabs
  • Select termination (or use the first one, with index zero by default)

3. Create a slab for the selected termination


Reply via ReviewNB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants