tweaked the simulation settings a little

This commit is contained in:
Daniel Knüttel 2019-07-15 16:07:27 +02:00
parent d59dd8bba4
commit 5cd316ebc9

View File

@ -11,12 +11,12 @@ from coefficients import c
#force_function = UFuncWrapper(0, c) #force_function = UFuncWrapper(0, c)
#interaction2D = UFuncWrapper(1, c) #interaction2D = UFuncWrapper(1, c)
borders_x = [-10, 10] borders_x = [-100, 100]
borders_y = [-10, 10] borders_y = [-100, 100]
n_particles = 600 n_particles = 600
frames = 100 frames = 100
spawn_restriction = 1.1 spawn_restriction = 1.1
dt = 0.001 dt = 0.01
c[-1] = dt c[-1] = dt
x_coords = np.random.uniform(borders_x[0] / spawn_restriction, borders_x[1] / spawn_restriction, n_particles).astype(np.float16) x_coords = np.random.uniform(borders_x[0] / spawn_restriction, borders_x[1] / spawn_restriction, n_particles).astype(np.float16)