espressomd / espresso

The ESPResSo package
https://espressomd.org
GNU General Public License v3.0
230 stars 188 forks source link

Re-introduce virtual sites at center of mass #4619

Open RudolfWeeber opened 1 year ago

RudolfWeeber commented 1 year ago

Goal

Design choices

Steps

Core class

RudolfWeeber commented 1 year ago

Fixup

Please assign not only the center of mass position/velocity to the virtual site, but also the total mass of the non-virtual particles making up the object

Backtransfer

the backtransfer funciton should do the follow

Script interface

Add a new virtual site class in src/script_interface/virtual_sites. Look for VirtualStiesRelative in the script interface and use as template

@jngrad Where can an exammple for the script interface stuff for the std::map<int,int> be stolen?