-/*
- * The function calc_bonds() calculates all bonded force interactions.
- * The "bonds" are specified as follows:
- * int nbonds
- * the total number of bonded interactions.
- * t_iatom *forceatoms
- * specifies which atoms are involved in a bond of a certain
- * type, see also struct t_idef.
- * t_functype *functype
- * defines for every bonded force type what type of function to
- * use, see also struct t_idef.
- * t_iparams *forceparams
- * defines the parameters for every bond type, see also struct
- * t_idef.
- * real epot[NR_F]
- * total potential energy split up over the function types.
- * int *ddgatindex
- * global atom number indices, should be NULL when not using DD.
- * return value:
- * the total potential energy (sum over epot).
- */