34 auto &system = get_system();
35 if (not constraint->fits_in_box(system.box_geo->length())) {
36 throw std::runtime_error(
"Constraint not compatible with box size.");
38 assert(not contains(constraint));
39 m_constraints.emplace_back(constraint);
40 system.on_constraint_change();
Force information on a particle.