mbuild_polybuild.aa_functional_groups.ammonium.Ammonium.generate_bonds

Ammonium.generate_bonds(name_a, name_b, dmin, dmax)

Add Bonds between all pairs of types a/b within [dmin, dmax].

Parameters:
  • name_a (str) – The name of one of the Particles to be in each bond

  • name_b (str) – The name of the other Particle to be in each bond

  • dmin (float) – The minimum distance (in nm) between Particles for considering a bond

  • dmax (float) – The maximum distance (in nm) between Particles for considering a bond