Group
-
class Group : public feasst::PropertiedEntity
Define groups based on particle and site types.
Arguments
prepend: expect all other arguments to have this prepended with underscore. For example, if prepend==water, the following argument would expect “water_site_type0” (default: empty).
site_type: add site type(s). If none, all sites included. Multiple can be provided as comma-separated values.
particle_type: add particle type(s). If none, all included. Multiple can be provided as comma-separated values.
particle_index: add particle index(es). If none, all included. Multiple can be provided as comma-separated values.
dynamic: set true if groups should be updated (default: true).
spatial: set true if group is based on location (default: false).