ModifyFactory

class ModifyFactory : public feasst::Modify

Contains multiple Modify objects.

Subclassed by feasst::CheckEnergyAndTune

Public Functions

void add(std::shared_ptr<Modify> modify)

Add a Modify object.

int num() const

Return the number.

const std::vector<std::shared_ptr<Modify>> &modifiers() const

Return the Modify objects.

const Modify &modify(const int index) const

Return a Modify object by index.

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

Initialize and precompute before trials.

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

Check every trial if action is to be performed.