-cmake_minimum_required(VERSION 2.6)
+cmake_minimum_required(VERSION 2.8)
+ # Keep CMake suitably quiet on Cygwin
+ set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
project(Gromacs)
include(Dart)
}
}
-static gmx_bool inter_res_bond(const t_rbonded *b)
-{
- return (b->AI[0] == '-' || b->AI[0] == '+' ||
- b->AJ[0] == '-' || b->AJ[0] == '+');
-}
-
static void at2bonds(t_params *psb, t_hackblock *hb,
- int natoms, t_atom atom[], char **aname[],
- int nres, rvec x[],
+ t_atoms *atoms,
+ rvec x[],
real long_bond_dist, real short_bond_dist,
gmx_bool bAllowMissing)
{