bonds

snap_simulate.hoomd.simulation.build_bonds(Bonds)[source]

This function parses the bonds block to register bond potentials.

types: ["star_bond"]
specs:
  Harmonic:
    default_params:
      k: 330.0
      r_0: 0.84
    params:
      star_bond:
        k: 330.0
        r_0: 0.84

See also

See the HOOMD-blue Bond Potentials documentation for details on bond potentials and options.