Question regarding atomic position constraints (similar to ASE) #406
Answered
by
curtischong
evenfarther
asked this question in
Q&A
|
Dear torchsim developers, Hello, and thank you for providing this excellent code. I am planning to conduct large-scale high-throughput screening using MLIP, and I believe torchsim could significantly accelerate this process. I have one question: Does torchsim support fixing the positions of specific atoms in a structure file, similar to the functionality provided by ASE? Thank you. |
Answered by
curtischong
Jan 17, 2026
Replies: 1 comment 1 reply
|
This feature was recently added in the torch-sim/torch_sim/constraints.py Line 330 in 7ef63b7 All you need to do is provide the indices of the atoms you wish to fix (e.g. the atomic indices of the slab when searching for catalysts). |
1 reply
Answer selected by
evenfarther
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This feature was recently added in the
FixAtomsclass!torch-sim/torch_sim/constraints.py
Line 330 in 7ef63b7
All you need to do is provide the indices of the atoms you wish to fix (e.g. the atomic indices of the slab when searching for catalysts).