PerturbParticleType
-
class PerturbParticleType : public feasst::Perturb
Change the type of a Particle. If the Particle has multiple Sites, then fix the coordinate of the first site of both particle types to be equal, and then randomly rotate the rest of the sites according to the positions given in the fstprt file particle type definition (e.g., this only works properly for rigid molecules, not flexible ones).
Public Functions
-
void perturb(System *system, TrialSelect *select, Random *random, const bool is_position_held = false, Acceptance *acceptance = NULL)
Perturb the selection of the system.
- param is_position_held:
If position is held, all but perform the actual perturbation, as typically required for calculations of old configurations and Rosenbluth
-
std::string status_header() const
Print status header.
-
std::string status() const
Print status.
-
void perturb(System *system, TrialSelect *select, Random *random, const bool is_position_held = false, Acceptance *acceptance = NULL)