diff options
author | Adrian Kummerlaender | 2020-03-27 21:00:00 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2020-03-27 21:00:52 +0100 |
commit | 1d0639e33296f4cdc6f635732202ef05c2c6f81a (patch) | |
tree | 711fc90828d10a69f45aa38455dc51457608ee94 /random_velocities.py | |
parent | 774a4e4d6298f03ff61fb6e2c13a62ca25a2afb2 (diff) | |
download | boltzgas-1d0639e33296f4cdc6f635732202ef05c2c6f81a.tar boltzgas-1d0639e33296f4cdc6f635732202ef05c2c6f81a.tar.gz boltzgas-1d0639e33296f4cdc6f635732202ef05c2c6f81a.tar.bz2 boltzgas-1d0639e33296f4cdc6f635732202ef05c2c6f81a.tar.lz boltzgas-1d0639e33296f4cdc6f635732202ef05c2c6f81a.tar.xz boltzgas-1d0639e33296f4cdc6f635732202ef05c2c6f81a.tar.zst boltzgas-1d0639e33296f4cdc6f635732202ef05c2c6f81a.zip |
Start tidying up new features
Diffstat (limited to 'random_velocities.py')
-rw-r--r-- | random_velocities.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/random_velocities.py b/random_velocities.py index 3679dcc..cf18e6b 100644 --- a/random_velocities.py +++ b/random_velocities.py @@ -13,13 +13,9 @@ position, velocity = grid_of_random_velocity_particles(grid_width, radius, char_ config = HardSphereSetup(radius, char_u, position, velocity) gas = HardSphereSimulation(config, opengl = True, t_scale=0.5) -from OpenGL.GL import * - #tracer = Tracer(gas, int((grid_width**2)/2+grid_width/2)) histogram = VelocityHistogram(gas, [1.1,0], [1,1]) -decorations = [ WireBox(0,1,0,1,0,1) ] -instruments = [ histogram ] -windows = [ histogram ] +instruments = [ WireBox(0,1,0,1,0,1), histogram ] -boltzgas.visualizer.simulate(config, gas, instruments, decorations, windows) +boltzgas.visualizer.simulate(config, gas, instruments) |