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

Mutating elements #179

Open
rc83 opened this issue Jul 25, 2019 · 0 comments
Open

Mutating elements #179

rc83 opened this issue Jul 25, 2019 · 0 comments

Comments

@rc83
Copy link
Collaborator

rc83 commented Jul 25, 2019

Vidar would like to have a system where Lennard-Jones parameters of a given element can change as a result of move.

As a quick implementation option could be to expose the init() method in an API of the MixerPairPotentialBase, possibly allowing recalculation only of affected pairs.

A better but more complex solution would be perhaps an observer pattern.

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

No branches or pull requests

2 participants