From 5cd316ebc9e3c862a9838a848d0d16166e4b7bc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kn=C3=BCttel?= Date: Mon, 15 Jul 2019 16:07:27 +0200 Subject: [PATCH] tweaked the simulation settings a little --- particles.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/particles.py b/particles.py index 3fd5ce6..7fbfe01 100644 --- a/particles.py +++ b/particles.py @@ -11,12 +11,12 @@ from coefficients import c #force_function = UFuncWrapper(0, c) #interaction2D = UFuncWrapper(1, c) -borders_x = [-10, 10] -borders_y = [-10, 10] +borders_x = [-100, 100] +borders_y = [-100, 100] n_particles = 600 frames = 100 spawn_restriction = 1.1 -dt = 0.001 +dt = 0.01 c[-1] = dt x_coords = np.random.uniform(borders_x[0] / spawn_restriction, borders_x[1] / spawn_restriction, n_particles).astype(np.float16)