Skip to content
Snippets Groups Projects
Commit c85d503d authored by nickishch's avatar nickishch
Browse files

added just enough gas for a galaxy to reach mass saturation

parent fbcf739b
Branches
No related tags found
No related merge requests found
......@@ -196,10 +196,10 @@ coords -= 0.5
# cut a sphere
r_uni = np.linalg.norm(coords, axis=1)
coords = coords[r_uni <= 0.5]
coords *= boxSize/5 #boxSize * np.sqrt(3)
coords *= boxSize/3 #boxSize * np.sqrt(3)
# calculate max distance from the center (units of r_200)
R_max = boxSize/10 #boxSize/2 #np.sqrt(3) * (boxSize / 2)
R_max = boxSize/6 #boxSize/2 #np.sqrt(3) * (boxSize / 2)
r_s = 1 / c_200
# calculate distances to the center
r_uni = np.linalg.norm(coords, axis=1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment