From fe71e319b7d660aad5255d6b0e78710c0dc0dad0 Mon Sep 17 00:00:00 2001 From: James Willis <james.s.willis@durham.ac.uk> Date: Wed, 2 Dec 2015 11:59:41 +0000 Subject: [PATCH] Set particle velocities to 1.0 --- tests/testVectorize.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/testVectorize.c b/tests/testVectorize.c index fd4ef8ecab..5206ae0e29 100644 --- a/tests/testVectorize.c +++ b/tests/testVectorize.c @@ -27,6 +27,9 @@ struct cell *make_cell(size_t n, double *offset, double h, unsigned long long *p part->x[0] = x + offset[0] + 0.5; part->x[1] = y + offset[1] + 0.5; part->x[2] = z + offset[2] + 0.5; + part->v[0] = 1.0f; + part->v[1] = 1.0f; + part->v[2] = 1.0f; part->dt = 0.01; part->h = h; part->id = ++(*partId); -- GitLab