All,
I plan to release HOOMD-blue v4.0.0 soon (sometime after the coming 3.11 release).
* What is new in v4?
The Bussi-Donadio-Parrinello thermostat and Langevin piston barostat (thanks to contributor Martin Girard) will be new in v4. These will give you more options for rigorous temperature and pressure control and allow you to avoid some of the problems with the MTTK thermostat and undamped barostat in v3 (e.g. non-ergodic sampling in Frenkel-Ladd free energy computations).
* What changes do I need to make to my script?
You may not need to make any changes, depending on the features you use. At most, you will need to make minor changes only for the functionalities that have been improved. The majority of the v3 API will remain unchanged in v4!
The MD integration methods are now much more flexible, requiring a new syntax. For example, replace:
hoomd.md.methods.NVT(filter, kT, tau)
with
hoomd.md.methods.ConstantVolume(filter, thermostat=hoomd.md.methods.thermostats.MTTK(kT, tau))
v4 will also remove all classes, methods, and properties that were deprecated in v3. Run your script in the latest version (currently v3.10.0) and you will get FutureWarning notices about deprecated features you use. You can make many, but not all of the changes to your scripts now to prepare for v4.
For full details, see the v3 documentation on deprecated features:
https://hoomd-blue.readthedocs.io/en/v3.10.0/deprecated.html
or the v4 migration guide (work in progress):
https://hoomd-blue.readthedocs.io/en/trunk-major/migrating.html
* How can I use these new features now?
Build the `trunk-major` branch from source to test the current development version of v4. There will be no beta release binary builds before the v4.0.0 release.
------
Joshua A. Anderson, Ph.D.
Research Area Specialist, Chemical Engineering, University of Michigan