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
SWIFT
SWIFTsim
Commits
b9f0a4c7
Commit
b9f0a4c7
authored
Jul 18, 2016
by
Matthieu Schaller
Browse files
Description of the unit system for snapshots is now optional
parent
ec7014d2
Changes
10
Hide whitespace changes
Inline
Side-by-side
examples/CosmoVolume/cosmoVolume.yml
View file @
b9f0a4c7
...
...
@@ -23,11 +23,6 @@ Snapshots:
basename
:
cosmo
# Common part of the name of output files
time_first
:
0.
# Time of the first output (in internal units)
delta_time
:
0.05
# Time difference between consecutive outputs (in internal units)
UnitMass_in_cgs
:
1
# Grams
UnitLength_in_cgs
:
1
# Centimeters
UnitVelocity_in_cgs
:
1
# Centimeters per second
UnitCurrent_in_cgs
:
1
# Amperes
UnitTemp_in_cgs
:
1
# Kelvin
# Parameters governing the conserved quantities statistics
Statistics
:
...
...
examples/EAGLE_12/eagle_12.yml
View file @
b9f0a4c7
# Define the system of units to use internally.
InternalUnitSystem
:
UnitMass_in_cgs
:
1
# G
rams
UnitLength_in_cgs
:
1
# C
entimeters
UnitVelocity_in_cgs
:
1
# C
entimeters per second
UnitCurrent_in_cgs
:
1
# Amperes
UnitTemp_in_cgs
:
1
# Kelvin
UnitMass_in_cgs
:
1
.989e43
# 10^10 M_sun in g
rams
UnitLength_in_cgs
:
3.085678e24
# Mpc in c
entimeters
UnitVelocity_in_cgs
:
1
e5
# km/s in c
entimeters per second
UnitCurrent_in_cgs
:
1
# Amperes
UnitTemp_in_cgs
:
1
# Kelvin
# Parameters for the task scheduling
Scheduler
:
...
...
@@ -14,21 +14,16 @@ Scheduler:
# Parameters governing the time integration
TimeIntegration
:
time_begin
:
0.
# The starting time of the simulation (in internal units).
time_end
:
1
.
# The end time of the simulation (in internal units).
dt_min
:
1e-
7
# The minimal time-step size of the simulation (in internal units).
dt_max
:
1e-
2
# The maximal time-step size of the simulation (in internal units).
time_end
:
1
e-2
# The end time of the simulation (in internal units).
dt_min
:
1e-
10
# The minimal time-step size of the simulation (in internal units).
dt_max
:
1e-
4
# The maximal time-step size of the simulation (in internal units).
# Parameters governing the snapshots
Snapshots
:
basename
:
eagle
# Common part of the name of output files
time_first
:
0.
# Time of the first output (in internal units)
delta_time
:
0.05
# Time difference between consecutive outputs (in internal units)
UnitMass_in_cgs
:
1
# Grams
UnitLength_in_cgs
:
1
# Centimeters
UnitVelocity_in_cgs
:
1
# Centimeters per second
UnitCurrent_in_cgs
:
1
# Amperes
UnitTemp_in_cgs
:
1
# Kelvin
delta_time
:
1e-3
# Time difference between consecutive outputs (in internal units)
# Parameters governing the conserved quantities statistics
Statistics
:
delta_time
:
1e-2
# Time between statistics output
...
...
examples/EAGLE_25/eagle_25.yml
View file @
b9f0a4c7
# Define the system of units to use internally.
InternalUnitSystem
:
UnitMass_in_cgs
:
1
# G
rams
UnitLength_in_cgs
:
1
# C
entimeters
UnitVelocity_in_cgs
:
1
# C
entimeters per second
UnitCurrent_in_cgs
:
1
# Amperes
UnitTemp_in_cgs
:
1
# Kelvin
UnitMass_in_cgs
:
1
.989e43
# 10^10 M_sun in g
rams
UnitLength_in_cgs
:
3.085678e24
# Mpc in c
entimeters
UnitVelocity_in_cgs
:
1
e5
# km/s in c
entimeters per second
UnitCurrent_in_cgs
:
1
# Amperes
UnitTemp_in_cgs
:
1
# Kelvin
# Parameters for the task scheduling
Scheduler
:
...
...
@@ -23,11 +23,6 @@ Snapshots:
basename
:
eagle
# Common part of the name of output files
time_first
:
0.
# Time of the first output (in internal units)
delta_time
:
0.05
# Time difference between consecutive outputs (in internal units)
UnitMass_in_cgs
:
1
# Grams
UnitLength_in_cgs
:
1
# Centimeters
UnitVelocity_in_cgs
:
1
# Centimeters per second
UnitCurrent_in_cgs
:
1
# Amperes
UnitTemp_in_cgs
:
1
# Kelvin
# Parameters governing the conserved quantities statistics
Statistics
:
...
...
examples/EAGLE_50/eagle_50.yml
View file @
b9f0a4c7
# Define the system of units to use internally.
InternalUnitSystem
:
UnitMass_in_cgs
:
1
# G
rams
UnitLength_in_cgs
:
1
# C
entimeters
UnitVelocity_in_cgs
:
1
# C
entimeters per second
UnitCurrent_in_cgs
:
1
# Amperes
UnitTemp_in_cgs
:
1
# Kelvin
UnitMass_in_cgs
:
1
.989e43
# 10^10 M_sun in g
rams
UnitLength_in_cgs
:
3.085678e24
# Mpc in c
entimeters
UnitVelocity_in_cgs
:
1
e5
# km/s in c
entimeters per second
UnitCurrent_in_cgs
:
1
# Amperes
UnitTemp_in_cgs
:
1
# Kelvin
# Parameters for the task scheduling
Scheduler
:
...
...
@@ -23,11 +23,6 @@ Snapshots:
basename
:
eagle
# Common part of the name of output files
time_first
:
0.
# Time of the first output (in internal units)
delta_time
:
0.05
# Time difference between consecutive outputs (in internal units)
UnitMass_in_cgs
:
1
# Grams
UnitLength_in_cgs
:
1
# Centimeters
UnitVelocity_in_cgs
:
1
# Centimeters per second
UnitCurrent_in_cgs
:
1
# Amperes
UnitTemp_in_cgs
:
1
# Kelvin
# Parameters governing the conserved quantities statistics
Statistics
:
...
...
examples/ExternalPointMass/externalPointMass.yml
View file @
b9f0a4c7
...
...
@@ -18,11 +18,6 @@ Snapshots:
basename
:
pointMass
# Common part of the name of output files
time_first
:
0.
# Time of the first output (in internal units)
delta_time
:
0.02
# Time difference between consecutive outputs (in internal units)
UnitMass_in_cgs
:
1.9885e33
# Grams
UnitLength_in_cgs
:
3.0856776e21
# Centimeters
UnitVelocity_in_cgs
:
1e5
# Centimeters per second
UnitCurrent_in_cgs
:
1
# Amperes
UnitTemp_in_cgs
:
1
# Kelvin
# Parameters governing the conserved quantities statistics
Statistics
:
...
...
examples/MultiTypes/multiTypes.yml
View file @
b9f0a4c7
...
...
@@ -18,11 +18,6 @@ Snapshots:
basename
:
multiTypes
# Common part of the name of output files
time_first
:
0.
# Time of the first output (in internal units)
delta_time
:
0.01
# Time difference between consecutive outputs (in internal units)
UnitMass_in_cgs
:
1
# Grams
UnitLength_in_cgs
:
1
# Centimeters
UnitVelocity_in_cgs
:
1
# Centimeters per second
UnitCurrent_in_cgs
:
1
# Amperes
UnitTemp_in_cgs
:
1
# Kelvin
# Parameters governing the conserved quantities statistics
Statistics
:
...
...
examples/SedovBlast/sedov.yml
View file @
b9f0a4c7
...
...
@@ -18,11 +18,6 @@ Snapshots:
basename
:
sedov
# Common part of the name of output files
time_first
:
0.
# Time of the first output (in internal units)
delta_time
:
0.1
# Time difference between consecutive outputs (in internal units)
UnitMass_in_cgs
:
1
# Grams
UnitLength_in_cgs
:
1
# Centimeters
UnitVelocity_in_cgs
:
1
# Centimeters per second
UnitCurrent_in_cgs
:
1
# Amperes
UnitTemp_in_cgs
:
1
# Kelvin
# Parameters governing the conserved quantities statistics
Statistics
:
...
...
examples/SodShock/sodShock.yml
View file @
b9f0a4c7
...
...
@@ -18,11 +18,6 @@ Snapshots:
basename
:
sod
# Common part of the name of output files
time_first
:
0.
# Time of the first output (in internal units)
delta_time
:
0.1
# Time difference between consecutive outputs (in internal units)
UnitMass_in_cgs
:
1
# Grams
UnitLength_in_cgs
:
1
# Centimeters
UnitVelocity_in_cgs
:
1
# Centimeters per second
UnitCurrent_in_cgs
:
1
# Amperes
UnitTemp_in_cgs
:
1
# Kelvin
# Parameters governing the conserved quantities statistics
Statistics
:
...
...
examples/UniformBox/uniformBox.yml
View file @
b9f0a4c7
...
...
@@ -18,11 +18,6 @@ Snapshots:
basename
:
uniformBox
# Common part of the name of output files
time_first
:
0.
# Time of the first output (in internal units)
delta_time
:
0.01
# Time difference between consecutive outputs (in internal units)
UnitMass_in_cgs
:
1
# Grams
UnitLength_in_cgs
:
1
# Centimeters
UnitVelocity_in_cgs
:
1
# Centimeters per second
UnitCurrent_in_cgs
:
1
# Amperes
UnitTemp_in_cgs
:
1
# Kelvin
# Parameters governing the conserved quantities statistics
Statistics
:
...
...
examples/parameter_example.yml
View file @
b9f0a4c7
...
...
@@ -25,11 +25,11 @@ Snapshots:
basename
:
output
# Common part of the name of output files
time_first
:
0.
# Time of the first output (in internal units)
delta_time
:
0.01
# Time difference between consecutive outputs (in internal units)
UnitMass_in_cgs
:
1
# Unit system for the outputs (Grams)
UnitLength_in_cgs
:
1
# Unit system for the outputs (Centimeters)
UnitVelocity_in_cgs
:
1
# Unit system for the outputs (Centimeters per second)
UnitCurrent_in_cgs
:
1
# Unit system for the outputs (Amperes)
UnitTemp_in_cgs
:
1
# Unit system for the outputs (Kelvin)
UnitMass_in_cgs
:
1
#
(Optional)
Unit system for the outputs (Grams)
UnitLength_in_cgs
:
1
#
(Optional)
Unit system for the outputs (Centimeters)
UnitVelocity_in_cgs
:
1
#
(Optional)
Unit system for the outputs (Centimeters per second)
UnitCurrent_in_cgs
:
1
#
(Optional)
Unit system for the outputs (Amperes)
UnitTemp_in_cgs
:
1
#
(Optional)
Unit system for the outputs (Kelvin)
# Parameters governing the conserved quantities statistics
Statistics
:
...
...
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