Skip to content

Conversation

@abhijeetgangan
Copy link
Collaborator

@abhijeetgangan abhijeetgangan commented Jan 31, 2026

Wraps positions inside classical iteraction models and MACE to address #423

CompRhys
CompRhys approved these changes Jan 31, 2026
):
self.setup_from_system_idx(sim_state.atomic_numbers, sim_state.system_idx)

# Wrap positions into the unit cell
Copy link
Member

Choose a reason for hiding this comment

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

what about the alternative of moving thing inside the nl function?

Copy link
Collaborator Author

@abhijeetgangan abhijeetgangan Feb 2, 2026

Choose a reason for hiding this comment

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

Yes, I tried that but it seems that then both the model and nl would require to use the same coodinates. I.e wrapping for nl vs non-wrapping for model doesn't work (eg. computing edge vectors). This is a issue with nl. I will raise an issue about this as I believe the nl should give the same graph irrespective of wrapping or not.

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.

3 participants