glotzerlab / hoomd-blue

Molecular dynamics and Monte Carlo soft matter simulation on GPUs.
http://glotzerlab.engin.umich.edu/hoomd-blue
BSD 3-Clause "New" or "Revised" License
343 stars 132 forks source link

Move wall and harmonic potentials to `external_potentials`. #1941

Closed joaander closed 1 week ago

joaander commented 1 week ago

Description

Refactor the HPMC wall and harmonic potentials to use the new external_potentials framework.

Motivation and context

Complete the API transition that allows users to set multiple external potentials.

Resolves #1652

How has this been tested?

CI checks.

Checklist: