SelectSiteOfType
-
class SelectSiteOfType : public feasst::TrialSelect
Select a random site of a given type.
Public Functions
-
int random_site_in_particle(const Configuration &config, Select *select, Random *random)
Select a random site of given type in randomly selected particle.
-
bool select(const Select &perturbed, System *system, Random *random, TrialSelect *previous_select)
Perform the selection as implemented in the derived class. Return false if the selection cannot be made. Otherwise, return true.
- param perturbed:
Perturbed is included to allow chaining of selection based on previous.
-
int random_site_in_particle(const Configuration &config, Select *select, Random *random)