|
faunus
|
Determines if two groups are separated beyond the cutoff distance. More...
#include <energy.h>
Public Member Functions | |
| bool | cut (const Group &group1, const Group &group2) |
| Determines if two groups are separated beyond the cutoff distance. More... | |
| double | getCutoff (size_t id1, size_t id2) const |
| template<typename... Args> | |
| auto | operator() (Args &&... args) |
| A functor alias for cut(). More... | |
| GroupCutoff (Space::GeometryType &geometry) | |
| Sets the geometry. More... | |
Friends | |
| void | from_json (const json &, GroupCutoff &) |
| void | to_json (json &, const GroupCutoff &) |
Determines if two groups are separated beyond the cutoff distance.
The distance between centers of mass is considered. The cutoff distance can be specified independently for each group pair to override the default value.
|
explicit |
Sets the geometry.
| geometry | geometry to compute the inter group distance with |
Determines if two groups are separated beyond the cutoff distance.
|
inline |
1.8.13