Commit cbe7789f authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Avoid integer-division in the script making ICs for the square test.

parent 1f30c98a
......@@ -25,8 +25,8 @@ from numpy import *
# Parameters
L = 64 # Number of particles on the side
gamma = 5./3. # Gas adiabatic index
rho0 = 4 # Gas central density
rho1 = 1 # Gas outskirt density
rho0 = 4.0 # Gas central density
rho1 = 1.0 # Gas outskirt density
P0 = 2.5 # Gas central pressure
P1 = 2.5 # Gas central pressure
vx = 0.0 # Random velocity for all particles
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment