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


Public Member Functions | |
| GroupTranslator (double displacement_factor, const Point &direction=Point::Ones()) | |
| std::function< void(Group &)> | getLambda (Geometry::BoundaryFunction boundary, Random &slump) |
| Lambda to translate group in cluster. More... | |
Public Member Functions inherited from Faunus::move::GroupMover | |
| GroupMover (double displacement_factor, const Point &direction) | |
Public Attributes | |
| Point | current_displacement = Point::Zero() |
| Currently set displacement. | |
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.
| std::function< void(Group &)> Faunus::move::GroupTranslator::getLambda | ( | Geometry::BoundaryFunction | boundary, |
| Random & | slump | ||
| ) |
Lambda to translate group in cluster.
Will set a random displacement
1.8.13