faunus
Public Member Functions | Public Attributes | List of all members
Faunus::move::GroupTranslator Class Reference

Helper class to translate a group. More...

#include <clustermove.h>

Inheritance diagram for Faunus::move::GroupTranslator:
Inheritance graph
[legend]
Collaboration diagram for Faunus::move::GroupTranslator:
Collaboration graph
[legend]

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.
 

Detailed Description

Helper class to translate a group.

Member Function Documentation

◆ getLambda()

std::function< void(Group &)> Faunus::move::GroupTranslator::getLambda ( Geometry::BoundaryFunction  boundary,
Random slump 
)

Lambda to translate group in cluster.

Will set a random displacement


The documentation for this class was generated from the following files: