growth_expanded/include/trial_morph

namespace feasst

Functions

std::shared_ptr<Trial> MakeTrialMorph(const argtype &args = argtype())

Morph random particle(s) of given type into a different particle type(s). Typically requires the use of a reference index if multiple particles are to be morphed simultaneously.

args:

  • particle_type[i]: type of particle that will be morphed. The [i] is to be substituted for an integer 0, 1, 2, …

  • particle_type_morph[i]: type of particle to morph into. The [i] is to be substituted for an integer 0, 1, 2, … Each [i] should have a corresponding particle_type[i] argument.