TrialMorphExpanded: public feasst::Trial¶
Grand canonical insert/deletion by gradual growth/shrink with expanded ensembles.
As currently implemented, only one MacrostateMorph can be used at a time, due to the way that the current state is tracked.
TrialMorphExpanded(const std::vector<std::vector<int>> particle_type_growth_sequence, const argtype &args = argtype())¶
Typically requires reference_index if multiple particles are to be morphed simultaneously.
precompute(Criteria *criteria, System *system)¶
Precompute quantities before simulation for optimization.