Skip to content

Logging energies for harmonic external potentials #2050

Closed Answered by edwinb-ai
edwinb-ai asked this question in Support
Discussion options

You must be logged in to vote

I found the issue, which is in this line

mc.external_potential = [harmonic]

I replaced it with

sim.operations.integrator.external_potentials = [harmonic]

so that the integrator already assigned was updated correctly.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@joaander
Comment options

@edwinb-ai
Comment options

Answer selected by edwinb-ai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants