class MayerSampling : public feasst::Criteria

Mayer-sampling Monte Carlo acceptance criteria (see

Extrapolation in temperature is performed as descirbed in: .

The coefficients for the Taylor series extrapolation are written to file and include the division by factorial.


  • num_trials_per_iteration: define an iteration as a number of trials (as measured by number of calls to is_accepted) default: 1e9.

  • intra_potential: index of intramolecular potential that will be used to select the move. Ignore if -1 (default: -1).

  • num_beta_taylor: number of derivatives of second virial ratio with respect to beta. (default: 0).

  • training_file: if not empty, file name to write training data (default: empty).

  • training_per_write: write every this many sets of data (default: 1e4).

  • Criteria arguments.