Commit 1f30c98a authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

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

parent d40f8ebb
......@@ -26,11 +26,11 @@ from numpy import *
# Parameters
L = 2 * 64 # Number of particles on the side
gamma = 5.0 / 3.0 # Gas adiabatic index
rho0 = 4 # Gas central density
rho1 = 1 # Gas outskirt density
P0 = 2.5 # Gas central pressure
P1 = 2.5 # Gas central pressure
vx = 0.0 # Random velocity for all particles
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
vy = 0.0
fileOutputName = "square.hdf5"
# ---------------------------------------------------
......
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