Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sten Delos
Gadget4
Commits
74e49a6b
Commit
74e49a6b
authored
Nov 12, 2020
by
Oliver Zier
Browse files
add reference for 1d ppm results for Evrard collapse
parent
e99a6bf2
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/G2-gassphere/analyze_snapshots.py
View file @
74e49a6b
#!/usr/bin/env python3
"""
Code that plots different radial profiles for the Evrard collapse
Code that plots different radial profiles for the Evrard collapse.
The results are compared with 1D PPM results from (Steinmetz & Mueller 1993) for t= 0.8
"""
# load libraries
...
...
@@ -76,7 +77,7 @@ def get_data_bins(radius,Density, vr, A):
return
r_bin
,
rho_bin
,
vr_bin
,
entropy_bin
#loads 1
d ppm
results
#loads 1
D PPM
results
def
load_ppm_result
():
gamma
=
5.
/
3.
rost
=
3.
/
4.
/
np
.
pi
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment