-
Notifications
You must be signed in to change notification settings - Fork 3
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
feature/SOF-7425 feat: add displacement for film/substrate #156
Conversation
@@ -462,3 +464,39 @@ def rotate_material(material: Material, axis: List[int], angle: float) -> Materi | |||
atoms.wrap() | |||
|
|||
return Material(from_ase(atoms)) | |||
|
|||
|
|||
def displace_interface( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
displace_interface_component(interface, displacement, component_name=InterfacePartsEnum.FILM, use_cartesian_coordinates=True)
Should use displacement in angstroms by default
tests/py/unit/fixtures.py
Outdated
@@ -61,6 +61,180 @@ | |||
INTERFACE_STRUCTURE.interface_properties = INTERFACE_PROPERTIES_MOCK | |||
INTERFACE_NAME = "Cu4(001)-Si8(001), Interface, Strain 0.062pct" | |||
|
|||
GRAPHENE_NICKEL_INTERFACE = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's create an interface through a function here and only check what we need
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. We decided to revert back to JSON due to erroneous interface creation during pytest
No description provided.