Particle or groups selection for smart Monte Carlo (SMC) moves.
More...
#include <smart_montecarlo.h>
|
| | Selection (T &item, int number_total, int number_inside, bool item_is_inside) |
| |
|
|
T * | item = nullptr |
| | Selected group, particle etc.
|
| |
|
int | n_total = 0 |
| |
|
int | n_inside = 0 |
| |
|
bool | is_inside = false |
| |
template<GroupOrParticle T>
class Faunus::SmarterMonteCarlo::Selection< T >
Particle or groups selection for smart Monte Carlo (SMC) moves.
This contains data useful for performing a SMC move. This object should be created only with SmartMonteCarlo::select and hence has a protected constructor.
◆ Selection()
template<GroupOrParticle T>
- Template Parameters
-
- Parameters
-
| item | Reference to item |
| number_total | Total number of items |
| number_inside | Number of items inside region |
| item_is_inside | Is current `item' inside region? |
The documentation for this class was generated from the following file: