setBonds

fun setBonds(): Int

Reset all bonds in the molecule to only those defined by the AMBER topology.

Returns the number of bonds added.