PerturbVolume
-
class PerturbVolume : public feasst::Perturb
Change the volume of the system uniformly randomly in \(\ln V\).
Public Functions
-
const bool uniform_volume() const
Return true if the volume is changed uniformly.
-
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
Arguments
-
PerturbVolume(argtype args = argtype())
args:
uniform_volume: if true, change volume uniformly in V instead of \(\ln V\) (default: false).
constrain_volume_change: if true, use the previous volume change to do the opposite for use as the second stage in Gibbs ensemble (default: false).
Tunable arguments.
-
const bool uniform_volume() const