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.
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 refactoredmodule.cc
to use forward declaration likemodule-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:
sphinx-doc/credits.rst
) in the pull request source branch.