ewald/include/trial_add_multiple

namespace feasst

Functions

std::vector<int> ptypes(Arguments *args)
std::shared_ptr<Trial> MakeTrialAddMultiple(const argtype &args = argtype())

Attempt to add multiple particles. Typically requires the use of a reference index.

args:

  • particle_type[i]: the i-th type of particle to add. The “[i]” is to be substituted for an integer 0, 1, 2, …