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
324 stars 127 forks source link

Autogenerate `mpcd::BounceBackNVE` templates #1812

Closed mphoward closed 1 month ago

mphoward commented 1 month ago

Description

This PR uses CMake to automatically generate the templates of mpcd::BounceBackNVE. I've had two developers get linker errors because this wasn't done automatically when they added new geometries. I've also refactored module.cc to use forward declaration like module-md.cc to speed up build times and avoid a recompile when a header changes.

Motivation and context

This makes code development easier.

How has this been tested?

Code compiles.

Change log

No change needed, this is internal only.

Checklist: