From aa3105fe99982f633e9d556025d85d73aaceb6cd Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Sat, 30 Jun 2018 18:22:03 +0200 Subject: [PATCH] Do not specify the parameters in the YAML files if the values given are the default values. --- examples/CoolingHalo/cooling_halo.yml | 2 -- examples/CoolingHaloWithSpin/cooling_halo.yml | 1 - examples/HydrostaticHalo/hydrostatic.yml | 1 - examples/IsothermalPotential/isothermal.yml | 1 - examples/KeplerianRing/keplerian_ring.yml | 1 - 5 files changed, 6 deletions(-) diff --git a/examples/CoolingHalo/cooling_halo.yml b/examples/CoolingHalo/cooling_halo.yml index 5cc77d2e01..68c3478b71 100644 --- a/examples/CoolingHalo/cooling_halo.yml +++ b/examples/CoolingHalo/cooling_halo.yml @@ -31,11 +31,9 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: CoolingHalo.hdf5 # The file to read - shift: [0.,0.,0.] # A shift to apply to all particles read from the ICs (in internal units). # External potential parameters IsothermalPotential: - position: [0.,0.,0.] # location of centre of isothermal potential in internal units vrot: 200. # rotation speed of isothermal potential in internal units timestep_mult: 0.03 # controls time step epsilon: 0.1 #softening for the isothermal potential diff --git a/examples/CoolingHaloWithSpin/cooling_halo.yml b/examples/CoolingHaloWithSpin/cooling_halo.yml index ddbd5d0b84..f6e9fe3b12 100644 --- a/examples/CoolingHaloWithSpin/cooling_halo.yml +++ b/examples/CoolingHaloWithSpin/cooling_halo.yml @@ -34,7 +34,6 @@ InitialConditions: # External potential parameters IsothermalPotential: - position: [0.,0.,0.] # Location of centre of isothermal potential in internal units vrot: 200. # Rotation speed of isothermal potential in internal units timestep_mult: 0.03 # Controls time step epsilon: 1.0 # Softening for the isothermal potential diff --git a/examples/HydrostaticHalo/hydrostatic.yml b/examples/HydrostaticHalo/hydrostatic.yml index 93dd80c02d..c37a531497 100644 --- a/examples/HydrostaticHalo/hydrostatic.yml +++ b/examples/HydrostaticHalo/hydrostatic.yml @@ -34,7 +34,6 @@ InitialConditions: # External potential parameters IsothermalPotential: - position: [0.,0.,0.] # location of centre of isothermal potential in internal units vrot: 200. # rotation speed of isothermal potential in internal units epsilon: 1.0 timestep_mult: 0.03 # controls time step diff --git a/examples/IsothermalPotential/isothermal.yml b/examples/IsothermalPotential/isothermal.yml index fd30895ceb..5dd0b831c8 100644 --- a/examples/IsothermalPotential/isothermal.yml +++ b/examples/IsothermalPotential/isothermal.yml @@ -30,7 +30,6 @@ InitialConditions: # External potential parameters IsothermalPotential: - position: [0.,0.,0.] # location of centre of isothermal potential in internal units vrot: 200. # rotation speed of isothermal potential in internal units timestep_mult: 0.01 # controls time step epsilon: 0. # No softening at the centre of the halo diff --git a/examples/KeplerianRing/keplerian_ring.yml b/examples/KeplerianRing/keplerian_ring.yml index 72a45eabdf..cc5db2a06a 100644 --- a/examples/KeplerianRing/keplerian_ring.yml +++ b/examples/KeplerianRing/keplerian_ring.yml @@ -32,7 +32,6 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: initial_conditions.hdf5 # The file to read - shift: [0.,0.,0.] # A shift to apply to all particles read from the ICs (in internal units). # External potential parameters PointMassPotential: -- GitLab