* To help us fund GROMACS development, we humbly ask that you cite
* the research papers on the package. Check out http://www.gromacs.org.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "gmxpre.h"
+
+#include "gen_maxwell_velocities.h"
#include <math.h>
+
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
#include "gromacs/random/random.h"
-#include "sysstuff.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/utility/smalloc.h"
-#include "physics.h"
-#include "typedefs.h"
-#include "vec.h"
-#include "gen_maxwell_velocities.h"
-#include "mtop_util.h"
static void low_mspeed(real tempi,
gmx_mtop_t *mtop, rvec v[], gmx_rng_t rng)
if (seed == 0)
{
seed = gmx_rng_make_seed();
- fprintf(stderr, "Using random seed %d for generating velocities\n", seed);
+ fprintf(stderr, "Using random seed %u for generating velocities\n", seed);
}
rng = gmx_rng_init(seed);