class GhostTrialGrow : public feasst::Modify

Compute the Metropolis acceptance for a TrialGrow that is never accepted.

This class effectively functions as an Analyze, because it does not change the System. The Trial is always rejected; however, because the Trial interface is used then the System is temporarily modified.

Public Functions

std::string header(const Criteria &criteria, const System &system, const TrialFactory &trials) const

Return the header for writing.

void initialize(Criteria *criteria, System *system, TrialFactory *trial_factory)

Initialize and precompute before trials.

void update(Criteria *criteria, System *system, Random *random, TrialFactory *trial_factory)

Perform update.

std::string write(Criteria *criteria, System *system, TrialFactory *trial_factory)

Perform write.