|
faunus
|
Helper class to translate a group. More...
#include <clustermove.h>


Public Member Functions | |
| GroupRotator (double displacement_factor, const Point &rotation_axis=Point::Zero()) | |
| std::function< void(Group &)> | getLambda (Geometry::BoundaryFunction boundary, const Point &rotation_origin, Random &random) |
| Lambda to rotate group in cluster. More... | |
Public Member Functions inherited from Faunus::move::GroupMover | |
| GroupMover (double displacement_factor, const Point &direction) | |
Public Attributes | |
| double | current_displacement = 0.0 |
| Current displacement angle. | |
Public Attributes inherited from Faunus::move::GroupMover | |
| Average< double > | mean_square_displacement |
| Must be updated manually. | |
| const double | displacement_factor |
| Displacement to be scaled by a random number. | |
| const Point | direction |
| Directions or axis of translation or rotation. | |
Helper class to translate a group.
If direction is zero, then generate random rotation axis
| std::function< void(Group &)> Faunus::move::GroupRotator::getLambda | ( | Geometry::BoundaryFunction | boundary, |
| const Point & | rotation_origin, | ||
| Random & | random | ||
| ) |
Lambda to rotate group in cluster.
Lambda to rotate a group.
Will set a random rotation axis and angle.
1.8.13