Skip to content
Snippets Groups Projects
Commit 1d1efb79 authored by Folkert Nobels's avatar Folkert Nobels
Browse files

Update python scripts

parent 9e264acc
No related branches found
No related tags found
1 merge request!681Add example of isolated galaxy and change hernquist potential configuration
......@@ -20,8 +20,6 @@
import numpy as np
import h5py
import matplotlib.pyplot as plt
from matplotlib.colors import BoundaryNorm
from matplotlib.ticker import MaxNLocator
import scipy.optimize as sco
......
......@@ -27,6 +27,8 @@ Snapshots:
time_first: 0. # (Optional) Time of the first output if non-cosmological time-integration (in internal units)
delta_time: 0.001 # Time difference between consecutive outputs (in internal units)
Scheduler:
max_top_level_cells: 96
# Parameters governing the conserved quantities statistics
Statistics:
......
......@@ -20,8 +20,6 @@
import numpy as np
import h5py
import matplotlib.pyplot as plt
from matplotlib.colors import BoundaryNorm
from matplotlib.ticker import MaxNLocator
import scipy.optimize as sco
......
......@@ -198,8 +198,8 @@ HernquistPotential:
scalelength: 10.0 # (Optional 0) default parameter, Scale length of the potential
# If multiple X200 values are given, only one is used, in the order M200 > V200 > R200.
M200: 3e11 # (Optional 1a) M200 of the galaxy+halo (when used V200 and R200 are not used)
V200: 100. # (Optional 1b) V200 of the galaxy+halo (when used M200 and R200 are not used)
R200: 10. # (Optional 1c) R200 of the galaxy+halo (when used M200 and V200 are not used)
V200: 100. # (Optional 1b) V200 of the galaxy+halo (when used M200 and R200 are not used, if M200 is given M200 is used)
R200: 10. # (Optional 1c) R200 of the galaxy+halo (when used M200 and V200 are not used, if M200 or V200 are given they are used)
h: 0.704 # (Optional 1) reduced Hubble constant
concentration: 7.1 # (Optional 1) concentration of the Halo
MD: 0.0434370991372 # (Optional 1) Disk mass fraction
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment