diff --git a/examples/AgoraDisk/agora_disk.yml b/examples/AgoraDisk/agora_disk.yml index f1bd57b13c49db1a7e03e05bdaa8b67ed0089c22..92f2532b3132c0f6314b7697f0b9b65f1afedb3b 100644 --- a/examples/AgoraDisk/agora_disk.yml +++ b/examples/AgoraDisk/agora_disk.yml @@ -44,8 +44,9 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./agora_disk.hdf5 # The file to read - cleanup_h_factors: 1 # Remove the h-factors inherited from Gadget - shift: [674.1175, 674.1175, 674.1175] # (Optional) A shift to apply to all particles read from the ICs (in internal units). + periodic: 0 # Non-periodic BCs + cleanup_h_factors: 1 # Remove the h-factors inherited from Gadget + shift: [674.1175, 674.1175, 674.1175] # Centre the box # Dimensionless pre-factor for the time-step condition LambdaCooling: diff --git a/examples/AgoraDisk/getIC.sh b/examples/AgoraDisk/getIC.sh old mode 100644 new mode 100755 index 620a751bedaf6c646119247270fad6dd3f740fde..c234b52b943ccb8d6dededed7d0f5070cd9fe5b2 --- a/examples/AgoraDisk/getIC.sh +++ b/examples/AgoraDisk/getIC.sh @@ -6,4 +6,4 @@ if [ "$#" -ne 1 ]; then exit fi -wget https://obswww.unige.ch/~lhausamm/swift/IC/AgoraDisk/$1 +wget https://obswww.unige.ch/~lhausamm/swift/IC/AgoraDisk/$1.hdf5 diff --git a/examples/AgoraDisk/getSolution.sh b/examples/AgoraDisk/getSolution.sh old mode 100644 new mode 100755 diff --git a/examples/AgoraDisk/run.sh b/examples/AgoraDisk/run.sh old mode 100644 new mode 100755 diff --git a/examples/ConstantCosmoVolume/constant_volume.yml b/examples/ConstantCosmoVolume/constant_volume.yml index db5b3de536b5b71229a207a3fdcfab8480718ef3..ebfcc4ffd72121571fa1a69f900985917b440c65 100644 --- a/examples/ConstantCosmoVolume/constant_volume.yml +++ b/examples/ConstantCosmoVolume/constant_volume.yml @@ -39,7 +39,8 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./constantBox.hdf5 - + periodic: 1 + Scheduler: max_top_level_cells: 8 cell_split_size: 50 diff --git a/examples/CoolingBox/coolingBox.yml b/examples/CoolingBox/coolingBox.yml index 99313e1a2008fe6fb23cefe5a83e930ad801b4ee..1a06168cef739f33301a113cf1247b52cd3e2129 100644 --- a/examples/CoolingBox/coolingBox.yml +++ b/examples/CoolingBox/coolingBox.yml @@ -32,7 +32,8 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./coolingBox.hdf5 # The file to read - + periodic: 1 + # Dimensionless pre-factor for the time-step condition LambdaCooling: lambda_nH2_cgs: 1e-22 # Cooling rate divided by square Hydrogen number density (in cgs units [erg * s^-1 * cm^3]) diff --git a/examples/CoolingHalo/cooling_halo.yml b/examples/CoolingHalo/cooling_halo.yml index c13c3925714764da60cc41bb4779ff08ddbbb239..3d6e44ae3efdb4ad0687f61d904d87d55bb2837b 100644 --- a/examples/CoolingHalo/cooling_halo.yml +++ b/examples/CoolingHalo/cooling_halo.yml @@ -32,7 +32,8 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: CoolingHalo.hdf5 # The file to read - + periodic: 1 + # External potential parameters IsothermalPotential: vrot: 200. # rotation speed of isothermal potential in internal units diff --git a/examples/CoolingHalo/makeIC.py b/examples/CoolingHalo/makeIC.py index 3ec1be6f7b5e568ebe8e0fefe508ef8287edb29c..046e5d619f047f8c6d40eab5a5cfce2e3a02074d 100644 --- a/examples/CoolingHalo/makeIC.py +++ b/examples/CoolingHalo/makeIC.py @@ -91,10 +91,6 @@ grp.attrs["Unit current in cgs (U_I)"] = 1. grp.attrs["Unit temperature in cgs (U_T)"] = 1. -# Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = periodic - # set seed for random number np.random.seed(1234) diff --git a/examples/CoolingHalo/makeIC_random_box.py b/examples/CoolingHalo/makeIC_random_box.py index 4295cb135233f2d5a59405b44e6d8e9c80a1f6c0..be8f2f172e5b7aef385f0974445e44068021c99d 100644 --- a/examples/CoolingHalo/makeIC_random_box.py +++ b/examples/CoolingHalo/makeIC_random_box.py @@ -102,10 +102,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = [0, 0, 0, 0, 0, 0] grp.attrs["Dimension"] = 3 -# Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = periodic - # set seed for random number np.random.seed(1234) diff --git a/examples/CoolingHaloWithSpin/cooling_halo.yml b/examples/CoolingHaloWithSpin/cooling_halo.yml index 7a6cd4eedb9479d9d04190e3a71b42ca8d003798..1b29e1376e47ad32beacaf9bfb5408b8ff4d3191 100644 --- a/examples/CoolingHaloWithSpin/cooling_halo.yml +++ b/examples/CoolingHaloWithSpin/cooling_halo.yml @@ -32,7 +32,8 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: CoolingHalo.hdf5 # The file to read - + periodic: 1 + # External potential parameters IsothermalPotential: vrot: 200. # Rotation speed of isothermal potential in internal units diff --git a/examples/CoolingHaloWithSpin/makeIC.py b/examples/CoolingHaloWithSpin/makeIC.py index 2cf3127c743f61756b3ff6c4a7738c83d185f9cd..9a839bfd01594fd1d1c899d43223d0ebce12a72f 100644 --- a/examples/CoolingHaloWithSpin/makeIC.py +++ b/examples/CoolingHaloWithSpin/makeIC.py @@ -92,11 +92,6 @@ grp.attrs["Unit time in cgs (U_t)"] = const_unit_length_in_cgs / const_unit_velo grp.attrs["Unit current in cgs (U_I)"] = 1. grp.attrs["Unit temperature in cgs (U_T)"] = 1. - -# Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = periodic - # set seed for random number np.random.seed(1234) diff --git a/examples/CoolingHaloWithSpin/makeIC_random_box.py b/examples/CoolingHaloWithSpin/makeIC_random_box.py index 4295cb135233f2d5a59405b44e6d8e9c80a1f6c0..be8f2f172e5b7aef385f0974445e44068021c99d 100644 --- a/examples/CoolingHaloWithSpin/makeIC_random_box.py +++ b/examples/CoolingHaloWithSpin/makeIC_random_box.py @@ -102,10 +102,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = [0, 0, 0, 0, 0, 0] grp.attrs["Dimension"] = 3 -# Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = periodic - # set seed for random number np.random.seed(1234) diff --git a/examples/DiscPatch/GravityOnly/disc-patch.yml b/examples/DiscPatch/GravityOnly/disc-patch.yml index 4ec061add978bec82c267660cc343cf0bfa8f4c6..bcc7d1a3decfb36201b60349eedb5d214e61f9a6 100644 --- a/examples/DiscPatch/GravityOnly/disc-patch.yml +++ b/examples/DiscPatch/GravityOnly/disc-patch.yml @@ -34,7 +34,8 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: Disc-Patch.hdf5 # The file to read - + periodic: 1 + # External potential parameters DiscPatchPotential: surface_density: 10. diff --git a/examples/DiscPatch/GravityOnly/makeIC.py b/examples/DiscPatch/GravityOnly/makeIC.py index 5f9650f44277cf858021c9b628d68134c47a19b7..3abf4f87fc6b6f78ed1814be08ca0d8e39359a26 100644 --- a/examples/DiscPatch/GravityOnly/makeIC.py +++ b/examples/DiscPatch/GravityOnly/makeIC.py @@ -111,10 +111,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = [0, 0, 0, 0, 0, 0] grp.attrs["Dimension"] = 3 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = periodic - # set seed for random number numpy.random.seed(1234) diff --git a/examples/DiscPatch/HydroStatic/disc-patch-icc.yml b/examples/DiscPatch/HydroStatic/disc-patch-icc.yml index 983a7dcc103135ab4db61d6ea77701532226c101..aee54057cf2c5b9d178abac5599d9e4133652362 100644 --- a/examples/DiscPatch/HydroStatic/disc-patch-icc.yml +++ b/examples/DiscPatch/HydroStatic/disc-patch-icc.yml @@ -37,7 +37,8 @@ EoS: # Parameters related to the initial conditions InitialConditions: file_name: Disc-Patch.hdf5 # The file to read - + periodic: 1 + # External potential parameters DiscPatchPotential: surface_density: 10. diff --git a/examples/DiscPatch/HydroStatic/disc-patch.yml b/examples/DiscPatch/HydroStatic/disc-patch.yml index 422e1cf910202e8f6dc0a9395fc7e36ce80443ed..8651ac09dbc4c4a97f0915ce7df6c678837b2f45 100644 --- a/examples/DiscPatch/HydroStatic/disc-patch.yml +++ b/examples/DiscPatch/HydroStatic/disc-patch.yml @@ -34,7 +34,8 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: Disc-Patch-dynamic.hdf5 # The file to read - + periodic: 1 + # External potential parameters DiscPatchPotential: surface_density: 10. diff --git a/examples/DiscPatch/HydroStatic/makeIC.py b/examples/DiscPatch/HydroStatic/makeIC.py index 8b4c55560c34e7bdb538f2b4732369216f91a087..dd50a821a2eb376c0785afd849a3ea575e349703 100644 --- a/examples/DiscPatch/HydroStatic/makeIC.py +++ b/examples/DiscPatch/HydroStatic/makeIC.py @@ -182,10 +182,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = [0, 0, 0, 0, 0, 0] grp.attrs["Dimension"] = 3 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - # write gas particles grp0 = file.create_group("/PartType0") diff --git a/examples/DiscPatch/HydroStatic_1D/disc-patch-icc.yml b/examples/DiscPatch/HydroStatic_1D/disc-patch-icc.yml index 450689034f4ae782cc74bf01dac93e723e5d2ce2..ea5d2e24eb93c64e21f37a8c137603b22885392c 100644 --- a/examples/DiscPatch/HydroStatic_1D/disc-patch-icc.yml +++ b/examples/DiscPatch/HydroStatic_1D/disc-patch-icc.yml @@ -34,7 +34,8 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: Disc-Patch.hdf5 # The file to read - + periodic: 1 + # External potential parameters DiscPatchPotential: surface_density: 10. diff --git a/examples/DiscPatch/HydroStatic_1D/makeIC.py b/examples/DiscPatch/HydroStatic_1D/makeIC.py index 983a550a3442c6470611792081a5884d38023a6a..b193c85e50d3526b8518cac06b9b00c3071c383a 100644 --- a/examples/DiscPatch/HydroStatic_1D/makeIC.py +++ b/examples/DiscPatch/HydroStatic_1D/makeIC.py @@ -168,10 +168,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = [0, 0, 0, 0, 0, 0] grp.attrs["Dimension"] = 1 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - # write gas particles grp0 = file.create_group("/PartType0") diff --git a/examples/DwarfGalaxy/dwarf_galaxy.yml b/examples/DwarfGalaxy/dwarf_galaxy.yml index 655d41a92827ee56c08e977fe895d28ea8541d9e..0d815a99c42249bcbbdaf21dbaa34a55f61731aa 100644 --- a/examples/DwarfGalaxy/dwarf_galaxy.yml +++ b/examples/DwarfGalaxy/dwarf_galaxy.yml @@ -66,6 +66,7 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./dwarf_galaxy.hdf5 # The file to read + periodic: 1 cleanup_h_factors: 1 # Remove the h-factors inherited from Gadget cleanup_velocity_factors: 1 # Remove the sqrt(a) factor in the velocities inherited from Gadget diff --git a/examples/DwarfGalaxy/getIC.sh b/examples/DwarfGalaxy/getIC.sh old mode 100644 new mode 100755 diff --git a/examples/DwarfGalaxy/run.sh b/examples/DwarfGalaxy/run.sh old mode 100644 new mode 100755 diff --git a/examples/EAGLE_100/eagle_100.yml b/examples/EAGLE_100/eagle_100.yml index dc2b814e0a3c116edd6c8dcac3c20b21a96e5927..3bcda091bdac5b740f3568de9c0814cc84c3b846 100644 --- a/examples/EAGLE_100/eagle_100.yml +++ b/examples/EAGLE_100/eagle_100.yml @@ -55,6 +55,7 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./EAGLE_ICs_100.hdf5 # The file to read + periodic: 1 cleanup_h_factors: 1 # Remove the h-factors inherited from Gadget cleanup_velocity_factors: 1 # Remove the sqrt(a) factor in the velocities inherited from Gadget diff --git a/examples/EAGLE_12/eagle_12.yml b/examples/EAGLE_12/eagle_12.yml index c567fa91fcdc53091ff4acda8334551664ded952..43593a05bc76a3072be2f1ead5ae560a3f3596f0 100644 --- a/examples/EAGLE_12/eagle_12.yml +++ b/examples/EAGLE_12/eagle_12.yml @@ -53,6 +53,7 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./EAGLE_ICs_12.hdf5 # The file to read + periodic: 1 cleanup_h_factors: 1 # Remove the h-factors inherited from Gadget cleanup_velocity_factors: 1 # Remove the sqrt(a) factor in the velocities inherited from Gadget diff --git a/examples/EAGLE_25/eagle_25.yml b/examples/EAGLE_25/eagle_25.yml index 4e59eb3b9fff78f433834a47ae8d53898135f0ec..905906a0ef6e1eb890853ace45775bc2f43858f8 100644 --- a/examples/EAGLE_25/eagle_25.yml +++ b/examples/EAGLE_25/eagle_25.yml @@ -62,6 +62,7 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./EAGLE_ICs_25.hdf5 # The file to read + periodic: 1 cleanup_h_factors: 1 # Remove the h-factors inherited from Gadget cleanup_velocity_factors: 1 # Remove the sqrt(a) factor in the velocities inherited from Gadget diff --git a/examples/EAGLE_50/eagle_50.yml b/examples/EAGLE_50/eagle_50.yml index 515b757741ec3b6f196275144063da23ce982021..7f03dce10af75dcadb711d00ec34007ab3cf7ae9 100644 --- a/examples/EAGLE_50/eagle_50.yml +++ b/examples/EAGLE_50/eagle_50.yml @@ -55,6 +55,7 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./EAGLE_ICs_50.hdf5 # The file to read + periodic: 1 cleanup_h_factors: 1 # Remove the h-factors inherited from Gadget cleanup_velocity_factors: 1 # Remove the sqrt(a) factor in the velocities inherited from Gadget diff --git a/examples/EAGLE_6/eagle_6.yml b/examples/EAGLE_6/eagle_6.yml index eb374df964e8b021ef2b7d90caf8a1824cf3a833..e3b9e593318c1fcc442dea94d0db1c15033fcc81 100644 --- a/examples/EAGLE_6/eagle_6.yml +++ b/examples/EAGLE_6/eagle_6.yml @@ -66,6 +66,7 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./EAGLE_ICs_6.hdf5 # The file to read + periodic: 1 cleanup_h_factors: 1 # Remove the h-factors inherited from Gadget cleanup_velocity_factors: 1 # Remove the sqrt(a) factor in the velocities inherited from Gadget diff --git a/examples/EAGLE_DMO_100/eagle_100.yml b/examples/EAGLE_DMO_100/eagle_100.yml index f04c32c8d08b5548c2c710cf8782b39a59c3821e..5a3066195647b79eeb6a6d67d037d15ce8370c39 100644 --- a/examples/EAGLE_DMO_100/eagle_100.yml +++ b/examples/EAGLE_DMO_100/eagle_100.yml @@ -49,6 +49,7 @@ Gravity: # Parameters related to the initial conditions InitialConditions: file_name: EAGLE_DMO_ICs_100.hdf5 + periodic: 1 cleanup_h_factors: 1 # Remove the h-factors inherited from Gadget cleanup_velocity_factors: 1 # Remove the sqrt(a) factor in the velocities inherited from Gadget diff --git a/examples/EAGLE_DMO_12/eagle_12.yml b/examples/EAGLE_DMO_12/eagle_12.yml index 2354216a5b0dcefe139d6e39699b4c67035a4173..0660d98e87adfae62a2d795efec7ad6509cc1354 100644 --- a/examples/EAGLE_DMO_12/eagle_12.yml +++ b/examples/EAGLE_DMO_12/eagle_12.yml @@ -51,6 +51,7 @@ Gravity: # Parameters related to the initial conditions InitialConditions: file_name: EAGLE_DMO_ICs_12.hdf5 + periodic: 1 cleanup_h_factors: 1 # Remove the h-factors inherited from Gadget cleanup_velocity_factors: 1 # Remove the sqrt(a) factor in the velocities inherited from Gadget diff --git a/examples/EAGLE_DMO_25/eagle_25.yml b/examples/EAGLE_DMO_25/eagle_25.yml index b02f9742a597687d2742b7c2d9eddf836258b06a..558c68ffaad204ebbe1d5781f945f0d95108d227 100644 --- a/examples/EAGLE_DMO_25/eagle_25.yml +++ b/examples/EAGLE_DMO_25/eagle_25.yml @@ -50,6 +50,7 @@ Gravity: # Parameters related to the initial conditions InitialConditions: file_name: EAGLE_DMO_ICs_25.hdf5 + periodic: 1 cleanup_h_factors: 1 # Remove the h-factors inherited from Gadget cleanup_velocity_factors: 1 # Remove the sqrt(a) factor in the velocities inherited from Gadget diff --git a/examples/EAGLE_DMO_50/eagle_50.yml b/examples/EAGLE_DMO_50/eagle_50.yml index 97299df063cd1f611f59a56ccd9b091b1217bef3..3cab2b1dc869b5187cf647caa7893281b783591a 100644 --- a/examples/EAGLE_DMO_50/eagle_50.yml +++ b/examples/EAGLE_DMO_50/eagle_50.yml @@ -49,6 +49,7 @@ Gravity: # Parameters related to the initial conditions InitialConditions: file_name: EAGLE_DMO_ICs_50.hdf5 + periodic: 1 cleanup_h_factors: 1 # Remove the h-factors inherited from Gadget cleanup_velocity_factors: 1 # Remove the sqrt(a) factor in the velocities inherited from Gadget diff --git a/examples/EvrardCollapse_3D/evrard.yml b/examples/EvrardCollapse_3D/evrard.yml index f9a4e69f72e6bb19b818cb985ef92122b1a10b2a..c14f9151b5a4ba6af60307a689d5b2530068deb3 100644 --- a/examples/EvrardCollapse_3D/evrard.yml +++ b/examples/EvrardCollapse_3D/evrard.yml @@ -39,6 +39,7 @@ Gravity: # Parameters related to the initial conditions InitialConditions: file_name: ./evrard.hdf5 # The file to read - + periodic: 0 + PhysicalConstants: G: 1. diff --git a/examples/EvrardCollapse_3D/makeIC.py b/examples/EvrardCollapse_3D/makeIC.py index f4d3c4c5bf7f91e5f79cfcd4e9ae23388932144e..29c4acd69ebf0638edf1273efc0f411766aebb6d 100644 --- a/examples/EvrardCollapse_3D/makeIC.py +++ b/examples/EvrardCollapse_3D/makeIC.py @@ -86,10 +86,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 3 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 0 - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/ExternalPointMass/externalPointMass.yml b/examples/ExternalPointMass/externalPointMass.yml index de05a9ff3c10afa7871ebeafbf4d8d272056d39f..83c4b4fd1b75b0db1068d21a6243ea7319bc636a 100644 --- a/examples/ExternalPointMass/externalPointMass.yml +++ b/examples/ExternalPointMass/externalPointMass.yml @@ -31,6 +31,7 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: PointMass.hdf5 # The file to read + periodic: 0 shift: [50.,50.,50.] # A shift to apply to all particles read from the ICs (in internal units). # External potential parameters diff --git a/examples/ExternalPointMass/makeIC.py b/examples/ExternalPointMass/makeIC.py index fdc5b1fd67ffcbd85beae3a9d6d1274d3d48c279..7a9e2e1fd555e4823957721e3c7bf53da9eff48d 100644 --- a/examples/ExternalPointMass/makeIC.py +++ b/examples/ExternalPointMass/makeIC.py @@ -79,9 +79,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = [0, 0, 0, 0, 0, 0] grp.attrs["Dimension"] = 3 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = periodic #Units grp = file.create_group("/Units") diff --git a/examples/Gradients/gradientsCartesian.yml b/examples/Gradients/gradientsCartesian.yml index b2131bdd4d3a9242d30ff0f32b7bf3395cb433a8..0264e9ced8652f45feeba79573d3143e6b0086bb 100644 --- a/examples/Gradients/gradientsCartesian.yml +++ b/examples/Gradients/gradientsCartesian.yml @@ -31,4 +31,4 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./Gradients_cartesian.hdf5 # The file to read - + periodic: 1 diff --git a/examples/Gradients/gradientsRandom.yml b/examples/Gradients/gradientsRandom.yml index 57ae849898bf8ccd63ccd7a5d685f9690403403d..1c6fcc1d077e0fd260b42e7de77490d58fb5aea9 100644 --- a/examples/Gradients/gradientsRandom.yml +++ b/examples/Gradients/gradientsRandom.yml @@ -31,4 +31,4 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./Gradients_random.hdf5 # The file to read - + periodic: 1 diff --git a/examples/Gradients/makeICs.py b/examples/Gradients/makeICs.py index 38d035d2ad2dd3dd6daacfd6f58d824e9daf6742..be70a9e614e8bc32db0c0979c42ab892ef7d068f 100644 --- a/examples/Gradients/makeICs.py +++ b/examples/Gradients/makeICs.py @@ -26,7 +26,6 @@ import sys # reconstruction # Parameters -periodic= 1 # 1 For periodic box gamma = 5./3. # Gas adiabatic index gridtype = "cartesian" if len(sys.argv) > 1: @@ -153,10 +152,6 @@ grp.attrs["NumFilesPerSnapshot"] = 1 grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = [0, 0, 0, 0, 0, 0] -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = periodic - #Particle group grp = file.create_group("/PartType0") ds = grp.create_dataset('Coordinates', (npart, 3), 'd') diff --git a/examples/Gravity_glass/makeIC.py b/examples/Gravity_glass/makeIC.py index 1a3fde9e2868c8881923fa61d1c308bca0f2f095..f573c79b19a5e3655d4f55f761ef20a6468342de 100644 --- a/examples/Gravity_glass/makeIC.py +++ b/examples/Gravity_glass/makeIC.py @@ -53,10 +53,6 @@ grp.attrs["MassTable"] = [0.0, mass, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 3 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = periodic - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/Gravity_glass/uniform_DM_box.yml b/examples/Gravity_glass/uniform_DM_box.yml index 8f3ef6f025afb1a92320eeb702b50e8bf4befce6..00a5864cdb6ff0897501248437b3cc00be0f7acf 100644 --- a/examples/Gravity_glass/uniform_DM_box.yml +++ b/examples/Gravity_glass/uniform_DM_box.yml @@ -42,3 +42,4 @@ Statistics: # Parameters related to the initial conditions InitialConditions: file_name: ./uniform_DM_box.hdf5 + periodic: 1 \ No newline at end of file diff --git a/examples/GreshoVortex_2D/gresho.yml b/examples/GreshoVortex_2D/gresho.yml index df941450196a7de6cd1471e1d258756ca8c36fb1..2006bb451179ce646ec2cc41cb3aa5603489dc29 100644 --- a/examples/GreshoVortex_2D/gresho.yml +++ b/examples/GreshoVortex_2D/gresho.yml @@ -34,3 +34,4 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./greshoVortex.hdf5 # The file to read + periodic: 1 \ No newline at end of file diff --git a/examples/GreshoVortex_2D/makeIC.py b/examples/GreshoVortex_2D/makeIC.py index 4f4ec3407b04971882fbf3d7d7479e74bf56c762..4fb382925e41a1d00463b369bc8d95c4bc6b0aa1 100644 --- a/examples/GreshoVortex_2D/makeIC.py +++ b/examples/GreshoVortex_2D/makeIC.py @@ -89,10 +89,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = [0, 0, 0, 0, 0, 0] grp.attrs["Dimension"] = 2 -#Runtime parameters -grp = fileOutput.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = fileOutput.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/GreshoVortex_3D/gresho.yml b/examples/GreshoVortex_3D/gresho.yml index 113c03b9bd0e411bf04f29c70937ac7fab3708f3..a95a0eae3255b87337fc838f1eabe5469a724a09 100644 --- a/examples/GreshoVortex_3D/gresho.yml +++ b/examples/GreshoVortex_3D/gresho.yml @@ -35,3 +35,4 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./greshoVortex.hdf5 # The file to read + periodic: 1 \ No newline at end of file diff --git a/examples/GreshoVortex_3D/makeIC.py b/examples/GreshoVortex_3D/makeIC.py index cba2158016bc86f58b6e89f83cbfb473798e1cf7..03f99df1082928bd57779ff2c0e7e85f112b4f1f 100644 --- a/examples/GreshoVortex_3D/makeIC.py +++ b/examples/GreshoVortex_3D/makeIC.py @@ -90,10 +90,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = [0, 0, 0, 0, 0, 0] grp.attrs["Dimension"] = 3 -#Runtime parameters -grp = fileOutput.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = fileOutput.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/HydrostaticHalo/hydrostatic.yml b/examples/HydrostaticHalo/hydrostatic.yml index 0cc11d0d8708b518b8b0b3a8df1374b6a5ead7e2..874d6344cf5787bb310b6a1b730acb3455a8b6a6 100644 --- a/examples/HydrostaticHalo/hydrostatic.yml +++ b/examples/HydrostaticHalo/hydrostatic.yml @@ -31,7 +31,8 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: Hydrostatic.hdf5 # The file to read - + periodic: 1 + # External potential parameters IsothermalPotential: vrot: 200. # rotation speed of isothermal potential in internal units diff --git a/examples/HydrostaticHalo/makeIC.py b/examples/HydrostaticHalo/makeIC.py index d5081ac84473edc87857c6872278b4d0ca6389b1..b8a4036b77c430866f700047fd06bf2c8de490e7 100644 --- a/examples/HydrostaticHalo/makeIC.py +++ b/examples/HydrostaticHalo/makeIC.py @@ -91,10 +91,6 @@ grp.attrs["Unit current in cgs (U_I)"] = 1. grp.attrs["Unit temperature in cgs (U_T)"] = 1. -# Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = periodic - # set seed for random number np.random.seed(1234) diff --git a/examples/InteractingBlastWaves_1D/interactingBlastWaves.yml b/examples/InteractingBlastWaves_1D/interactingBlastWaves.yml index e845599730828fd7b9880ae9aca11420ba50026c..c4960dfa2c07b6b08cd6559b1de49f27b518bf94 100644 --- a/examples/InteractingBlastWaves_1D/interactingBlastWaves.yml +++ b/examples/InteractingBlastWaves_1D/interactingBlastWaves.yml @@ -31,3 +31,4 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./interactingBlastWaves.hdf5 # The file to read + periodic: 1 diff --git a/examples/InteractingBlastWaves_1D/makeIC.py b/examples/InteractingBlastWaves_1D/makeIC.py index bed0e20c833ccbe54ed571b954cad03ab93f4c0c..3a47bf7c42e1359dc1a9aa151e360ad0f93d2d32 100644 --- a/examples/InteractingBlastWaves_1D/makeIC.py +++ b/examples/InteractingBlastWaves_1D/makeIC.py @@ -62,10 +62,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 1 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/IsothermalPotential/isothermal.yml b/examples/IsothermalPotential/isothermal.yml index 5f626ff72e979ad0f3d404e01002be6b6018c758..f9cae4d3b4dbcca2f414717e73fc54e7e06b7922 100644 --- a/examples/IsothermalPotential/isothermal.yml +++ b/examples/IsothermalPotential/isothermal.yml @@ -26,6 +26,7 @@ Snapshots: # Parameters related to the initial conditions InitialConditions: file_name: Isothermal.hdf5 # The file to read + periodic: 1 shift: [200.,200.,200.] # Shift all particles to be in the potential # External potential parameters diff --git a/examples/IsothermalPotential/makeIC.py b/examples/IsothermalPotential/makeIC.py index eab16d21e6a4abd077dc0f4a015a4577427a3591..ebcbb6dda11f1a2d88dfcfb717578f114f3512e9 100644 --- a/examples/IsothermalPotential/makeIC.py +++ b/examples/IsothermalPotential/makeIC.py @@ -97,10 +97,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = [0, 0, 0, 0, 0, 0] grp.attrs["Dimension"] = 3 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = periodic - # set seed for random number numpy.random.seed(1234) diff --git a/examples/KelvinHelmholtzGrowthRate_2D/kelvinHelmholtzGrowthRate.yml b/examples/KelvinHelmholtzGrowthRate_2D/kelvinHelmholtzGrowthRate.yml index 380dc2ab3a530e89b952aa41f425e50709d73ee9..e5a46cca1aa0c8972a5427126d2ce57a26d1b262 100644 --- a/examples/KelvinHelmholtzGrowthRate_2D/kelvinHelmholtzGrowthRate.yml +++ b/examples/KelvinHelmholtzGrowthRate_2D/kelvinHelmholtzGrowthRate.yml @@ -31,3 +31,4 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./kelvinHelmholtzGrowthRate.hdf5 # The file to read + periodic: 1 diff --git a/examples/KelvinHelmholtzGrowthRate_2D/makeIC.py b/examples/KelvinHelmholtzGrowthRate_2D/makeIC.py index f21d0c0abf9b15f8253f627bcb1da43ae276fb35..25ef65fd758e0dd97d45732a2da6d2aa19f793bc 100644 --- a/examples/KelvinHelmholtzGrowthRate_2D/makeIC.py +++ b/examples/KelvinHelmholtzGrowthRate_2D/makeIC.py @@ -76,10 +76,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = [0, 0, 0, 0, 0, 0] grp.attrs["Dimension"] = 2 -#Runtime parameters -grp = fileOutput.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = fileOutput.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/KelvinHelmholtzGrowthRate_2D/makeIC_regular.py b/examples/KelvinHelmholtzGrowthRate_2D/makeIC_regular.py index 5029165a6a328b6c706d37b632b14cbcd51501d0..55cd17823a1101164191c89810029370dee21e26 100644 --- a/examples/KelvinHelmholtzGrowthRate_2D/makeIC_regular.py +++ b/examples/KelvinHelmholtzGrowthRate_2D/makeIC_regular.py @@ -82,10 +82,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = [0, 0, 0, 0, 0, 0] grp.attrs["Dimension"] = 2 -#Runtime parameters -grp = fileOutput.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = fileOutput.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/KelvinHelmholtzGrowthRate_3D/kelvinHelmholtzGrowthRate.yml b/examples/KelvinHelmholtzGrowthRate_3D/kelvinHelmholtzGrowthRate.yml index e39c01645b766ae585558452683dc8e1bdf425a8..f5f7157f7d3252e8fe256b7bfc4ba83cb09ef03e 100644 --- a/examples/KelvinHelmholtzGrowthRate_3D/kelvinHelmholtzGrowthRate.yml +++ b/examples/KelvinHelmholtzGrowthRate_3D/kelvinHelmholtzGrowthRate.yml @@ -32,3 +32,4 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./kelvinHelmholtzGrowthRate.hdf5 # The file to read + periodic: 1 diff --git a/examples/KelvinHelmholtzGrowthRate_3D/makeIC.py b/examples/KelvinHelmholtzGrowthRate_3D/makeIC.py index a9bc20559b9fbb5da400ba5de2563cd715f473d5..d28f3617214193eca6159a7220263d36500dd1aa 100644 --- a/examples/KelvinHelmholtzGrowthRate_3D/makeIC.py +++ b/examples/KelvinHelmholtzGrowthRate_3D/makeIC.py @@ -76,10 +76,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = [0, 0, 0, 0, 0, 0] grp.attrs["Dimension"] = 3 -#Runtime parameters -grp = fileOutput.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = fileOutput.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/KelvinHelmholtzGrowthRate_3D/makeIC_regular.py b/examples/KelvinHelmholtzGrowthRate_3D/makeIC_regular.py index aa7dd8f214f8ece1c1d142bf02bd653cd35f9973..51ab694f387d380c83a0b646696fd23111b3f98c 100644 --- a/examples/KelvinHelmholtzGrowthRate_3D/makeIC_regular.py +++ b/examples/KelvinHelmholtzGrowthRate_3D/makeIC_regular.py @@ -84,10 +84,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = [0, 0, 0, 0, 0, 0] grp.attrs["Dimension"] = 3 -#Runtime parameters -grp = fileOutput.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = fileOutput.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/KelvinHelmholtz_2D/kelvinHelmholtz.yml b/examples/KelvinHelmholtz_2D/kelvinHelmholtz.yml index ccc7526b391374a4da0883f6615a65c7b93a0948..6e4e2bd43cfa3def8386b85c84570e9b9a48fbcf 100644 --- a/examples/KelvinHelmholtz_2D/kelvinHelmholtz.yml +++ b/examples/KelvinHelmholtz_2D/kelvinHelmholtz.yml @@ -31,3 +31,4 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./kelvinHelmholtz.hdf5 # The file to read + periodic: 1 diff --git a/examples/KelvinHelmholtz_2D/makeIC.py b/examples/KelvinHelmholtz_2D/makeIC.py index 744b39de8260720521ae8e77ed5d0a12161f2b6a..919066955c519dbac4e78e8e2a0eece842c40ab3 100644 --- a/examples/KelvinHelmholtz_2D/makeIC.py +++ b/examples/KelvinHelmholtz_2D/makeIC.py @@ -122,10 +122,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = [0, 0, 0, 0, 0, 0] grp.attrs["Dimension"] = 2 -#Runtime parameters -grp = fileOutput.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = fileOutput.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/KeplerianRing/keplerian_ring.yml b/examples/KeplerianRing/keplerian_ring.yml index cc5db2a06adbe9678207454c6504a6fa315675cf..2195acfb55121ff595c471ad146b40752d9aa84e 100644 --- a/examples/KeplerianRing/keplerian_ring.yml +++ b/examples/KeplerianRing/keplerian_ring.yml @@ -32,7 +32,8 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: initial_conditions.hdf5 # The file to read - + periodic: 1 + # External potential parameters PointMassPotential: position: [5.,5.,5.] # location of external point mass in internal units diff --git a/examples/MultiTypes/makeIC.py b/examples/MultiTypes/makeIC.py index 41a5ef5f2ffc4073ef8a4e93a130b43fcbe2c1f5..80d49c762b1fe13bbfafd05c6818d3f202e5b033 100644 --- a/examples/MultiTypes/makeIC.py +++ b/examples/MultiTypes/makeIC.py @@ -93,10 +93,6 @@ for n in range(num_files): grp.attrs["MassTable"] = [0.0, massDM, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 3 - - #Runtime parameters - grp = file.create_group("/RuntimePars") - grp.attrs["PeriodicBoundariesOn"] = periodic #Units grp = file.create_group("/Units") diff --git a/examples/MultiTypes/multiTypes.yml b/examples/MultiTypes/multiTypes.yml index 04647f0f00e69f5baf2560aca0feeb14a26cc50a..121a15b0837df19e4d2e9e64a56107c24fbde066 100644 --- a/examples/MultiTypes/multiTypes.yml +++ b/examples/MultiTypes/multiTypes.yml @@ -31,6 +31,7 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./multiTypes.hdf5 # The file to read + periodic: 1 replicate: 2 # Replicate all particles twice along each axis # External potential parameters diff --git a/examples/Noh_1D/makeIC.py b/examples/Noh_1D/makeIC.py index 176f3517455db7a8b0994ac7d1e65fb9cb7419d4..9d9a5e5b62edeedd8f5b2732c240b9ea2878c92d 100644 --- a/examples/Noh_1D/makeIC.py +++ b/examples/Noh_1D/makeIC.py @@ -66,10 +66,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 1 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/Noh_1D/noh.yml b/examples/Noh_1D/noh.yml index 1d126f19babd0c9fe28afff907b3fe8259467a24..58e13ddda8939c8fc5fa4360a498a87f1c5b189a 100644 --- a/examples/Noh_1D/noh.yml +++ b/examples/Noh_1D/noh.yml @@ -31,4 +31,6 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./noh.hdf5 # The file to read + periodic: 1 + \ No newline at end of file diff --git a/examples/Noh_2D/makeIC.py b/examples/Noh_2D/makeIC.py index f7239fa3cd188637df929f86451d20a9978bd1f5..83bb1ac6773074d0c10d3eb425b34c082a971fd8 100644 --- a/examples/Noh_2D/makeIC.py +++ b/examples/Noh_2D/makeIC.py @@ -73,10 +73,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 2 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/Noh_2D/noh.yml b/examples/Noh_2D/noh.yml index 1d126f19babd0c9fe28afff907b3fe8259467a24..eaf991631854e9a9781f0fcee50d996f8af949cd 100644 --- a/examples/Noh_2D/noh.yml +++ b/examples/Noh_2D/noh.yml @@ -31,4 +31,5 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./noh.hdf5 # The file to read + periodic: 1 diff --git a/examples/Noh_3D/makeIC.py b/examples/Noh_3D/makeIC.py index 0c25a5c8b3e967185cf16bae4b1f21c215266def..2d560a1e869c6c12e557c82402d6e8629ecf661c 100644 --- a/examples/Noh_3D/makeIC.py +++ b/examples/Noh_3D/makeIC.py @@ -75,10 +75,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 3 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/Noh_3D/noh.yml b/examples/Noh_3D/noh.yml index cc15af7ec190cd2c10cdff3a3ccb3f0beaf7e177..e005d394a6d3645ca33950af625b0267a62ca7d7 100644 --- a/examples/Noh_3D/noh.yml +++ b/examples/Noh_3D/noh.yml @@ -32,4 +32,5 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./noh.hdf5 # The file to read + periodic: 1 diff --git a/examples/PMillennium-384/p-mill-384.yml b/examples/PMillennium-384/p-mill-384.yml index b7fc6f762205a0a493b13392ff3001c653445d8d..4aede77c0c1a8a6818c95c318364150ede919a01 100644 --- a/examples/PMillennium-384/p-mill-384.yml +++ b/examples/PMillennium-384/p-mill-384.yml @@ -46,5 +46,6 @@ Gravity: # Parameters related to the initial conditions InitialConditions: file_name: ics.hdf5 + periodic: 1 cleanup_h_factors: 1 cleanup_velocity_factors: 1 diff --git a/examples/PMillennium-768/p-mill-768.yml b/examples/PMillennium-768/p-mill-768.yml index 8b93a7752d09545c08b98af87db1b1d46eb15189..a70c9c70831af9c237a466165b25b6300df69336 100644 --- a/examples/PMillennium-768/p-mill-768.yml +++ b/examples/PMillennium-768/p-mill-768.yml @@ -46,5 +46,6 @@ Gravity: # Parameters related to the initial conditions InitialConditions: file_name: ics.hdf5 + periodic: 1 cleanup_h_factors: 1 cleanup_velocity_factors: 1 diff --git a/examples/PerturbedBox_2D/makeIC.py b/examples/PerturbedBox_2D/makeIC.py index 87a41517772570870e04c79d3694c115a909e214..7f52525bdf508603a23f93c0fc7d8cda7f8f13cb 100644 --- a/examples/PerturbedBox_2D/makeIC.py +++ b/examples/PerturbedBox_2D/makeIC.py @@ -86,10 +86,6 @@ grp.attrs["Flag_Entropy_ICs"] = [0, 0, 0, 0, 0, 0] grp.attrs["NumPart_Total"] = numPart grp.attrs["Dimension"] = 2 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = periodic - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/PerturbedBox_2D/perturbedPlane.yml b/examples/PerturbedBox_2D/perturbedPlane.yml index a0c6b6d9dbc7a677002dbce5abc6e5d268b56e97..4d03b30398bec34414636803caf6bf3bdc99251d 100644 --- a/examples/PerturbedBox_2D/perturbedPlane.yml +++ b/examples/PerturbedBox_2D/perturbedPlane.yml @@ -31,3 +31,4 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./perturbedPlane.hdf5 # The file to read + periodic: 1 diff --git a/examples/PerturbedBox_3D/makeIC.py b/examples/PerturbedBox_3D/makeIC.py index 1b0fc284e4c40b51fca45f117b92175a0ea45f31..f2d8357f2f96a4aa6efaa14822c442a884415b56 100644 --- a/examples/PerturbedBox_3D/makeIC.py +++ b/examples/PerturbedBox_3D/makeIC.py @@ -88,10 +88,6 @@ grp.attrs["Flag_Entropy_ICs"] = [0, 0, 0, 0, 0, 0] grp.attrs["NumPart_Total"] = numPart grp.attrs["Dimension"] = 3 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = periodic - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/PerturbedBox_3D/perturbedBox.yml b/examples/PerturbedBox_3D/perturbedBox.yml index 3148510979d0e349c0d6242bf11e1a0db94f9e1f..6010cf457b2b67c0fce0332a0216aa9359673e3b 100644 --- a/examples/PerturbedBox_3D/perturbedBox.yml +++ b/examples/PerturbedBox_3D/perturbedBox.yml @@ -31,3 +31,4 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./perturbedBox.hdf5 # The file to read + periodic: 1 diff --git a/examples/SantaBarbara/santa_barbara.yml b/examples/SantaBarbara/santa_barbara.yml index b01321c521ec28b78c97cd082f0fd520d7024c3d..65e6c239e152d46647a6b0e40b2f100a9d7a3d32 100644 --- a/examples/SantaBarbara/santa_barbara.yml +++ b/examples/SantaBarbara/santa_barbara.yml @@ -53,6 +53,7 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./SantaBarbara.hdf5 + periodic: 1 cleanup_h_factors: 1 # ICs were generated for Gadget, we need to get rid of h-factors cleanup_velocity_factors: 1 # ICs were generated for Gadget, we need to get rid of sqrt(a) factors in the velocity generate_gas_in_ics: 1 # Generate gas particles from the DM-only ICs diff --git a/examples/SedovBlast_1D/makeIC.py b/examples/SedovBlast_1D/makeIC.py index 7177f3a7670aa054e3d7341a11a7359b3d855837..28b9c4bfd69395b94628bda3cfc3e59166460c79 100644 --- a/examples/SedovBlast_1D/makeIC.py +++ b/examples/SedovBlast_1D/makeIC.py @@ -72,10 +72,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 1 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/SedovBlast_1D/sedov.yml b/examples/SedovBlast_1D/sedov.yml index 5ef105b06c23ba577129f29a817c058457e7387f..b4912a95e797440dc6eb0c9f48806a5954adbc41 100644 --- a/examples/SedovBlast_1D/sedov.yml +++ b/examples/SedovBlast_1D/sedov.yml @@ -31,4 +31,4 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./sedov.hdf5 # The file to read - + periodic: 1 diff --git a/examples/SedovBlast_2D/makeIC.py b/examples/SedovBlast_2D/makeIC.py index 0e83c7b19b9ac9bd69e20950a64e8a49dd8d0df9..cd1e433c104fd013a71c5a501c166194a7f3f50f 100644 --- a/examples/SedovBlast_2D/makeIC.py +++ b/examples/SedovBlast_2D/makeIC.py @@ -72,10 +72,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 2 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/SedovBlast_2D/sedov.yml b/examples/SedovBlast_2D/sedov.yml index 098ca7a0d6264f016727709723aafdfb1224d460..84177ece31ef98ec55c41513276c9c0158e69bcf 100644 --- a/examples/SedovBlast_2D/sedov.yml +++ b/examples/SedovBlast_2D/sedov.yml @@ -31,4 +31,4 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./sedov.hdf5 # The file to read - + periodic: 1 diff --git a/examples/SedovBlast_3D/makeIC.py b/examples/SedovBlast_3D/makeIC.py index e1b743c6cdcd8dcc2f8da14d1d5589fb9ed111f0..30e0e31927db6343e58549bc9c7754bc274f51ce 100644 --- a/examples/SedovBlast_3D/makeIC.py +++ b/examples/SedovBlast_3D/makeIC.py @@ -72,10 +72,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 3 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/SedovBlast_3D/sedov.yml b/examples/SedovBlast_3D/sedov.yml index 75849e33c0c644a18cd7357f901699d0d682c160..e91601f3e1b880306a8a14c24ca75d97cbfe94a1 100644 --- a/examples/SedovBlast_3D/sedov.yml +++ b/examples/SedovBlast_3D/sedov.yml @@ -32,5 +32,6 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./sedov.hdf5 + periodic: 1 smoothing_length_scaling: 3.33 diff --git a/examples/SineWavePotential_1D/makeIC.py b/examples/SineWavePotential_1D/makeIC.py index afbf1bc0fa47a27677cb9c5645d439432bd9fd9a..39a78393650c7a8c0c01814fa10f514cc277e685 100644 --- a/examples/SineWavePotential_1D/makeIC.py +++ b/examples/SineWavePotential_1D/makeIC.py @@ -74,10 +74,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 1 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/SineWavePotential_1D/sineWavePotential.yml b/examples/SineWavePotential_1D/sineWavePotential.yml index e6285785099f10902ea60b21334a0ad26c0593de..a21a0b5936ab0a62a7b1f29c56145bed79ba73c4 100644 --- a/examples/SineWavePotential_1D/sineWavePotential.yml +++ b/examples/SineWavePotential_1D/sineWavePotential.yml @@ -31,7 +31,8 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: sineWavePotential.hdf5 # The file to read - + periodic: 1 + # External potential parameters SineWavePotential: amplitude: 10. diff --git a/examples/SineWavePotential_2D/makeIC.py b/examples/SineWavePotential_2D/makeIC.py index 62ae89f8f52bff9c0db37cd537f286ab817da3fe..057760502e561b5ec5d98e716b79119e3637ef57 100644 --- a/examples/SineWavePotential_2D/makeIC.py +++ b/examples/SineWavePotential_2D/makeIC.py @@ -70,10 +70,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 2 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/SineWavePotential_2D/sineWavePotential.yml b/examples/SineWavePotential_2D/sineWavePotential.yml index 9107652f65c343d68fc92e699d45710265d65308..63d575e7e2486cf4428bb8b11e1ba16da6e08d99 100644 --- a/examples/SineWavePotential_2D/sineWavePotential.yml +++ b/examples/SineWavePotential_2D/sineWavePotential.yml @@ -31,7 +31,8 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: sineWavePotential.hdf5 # The file to read - + periodic: 1 + # External potential parameters SineWavePotential: amplitude: 10. diff --git a/examples/SineWavePotential_3D/makeIC.py b/examples/SineWavePotential_3D/makeIC.py index 4833ec1b055e27b63751136f0491e972fb9e492a..a4f39238ba40bf6769e0fb44fe8da706730fe45b 100644 --- a/examples/SineWavePotential_3D/makeIC.py +++ b/examples/SineWavePotential_3D/makeIC.py @@ -81,10 +81,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 3 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/SineWavePotential_3D/sineWavePotential.yml b/examples/SineWavePotential_3D/sineWavePotential.yml index 8a49d8bc40eb662d62b2b6550b70fe380a7564f5..5b91feae0ecf8ad2f4f257374900a01f031acff1 100644 --- a/examples/SineWavePotential_3D/sineWavePotential.yml +++ b/examples/SineWavePotential_3D/sineWavePotential.yml @@ -31,7 +31,8 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: sineWavePotential.hdf5 # The file to read - + periodic: 1 + # External potential parameters SineWavePotential: amplitude: 10. diff --git a/examples/SmallCosmoVolume/small_cosmo_volume.yml b/examples/SmallCosmoVolume/small_cosmo_volume.yml index 353ab469c8375e87652738daea12a4a0144bfcd8..a6ce1f28198a99422ea1c80178fc8000b66d777e 100644 --- a/examples/SmallCosmoVolume/small_cosmo_volume.yml +++ b/examples/SmallCosmoVolume/small_cosmo_volume.yml @@ -52,7 +52,8 @@ Scheduler: # Parameters related to the initial conditions InitialConditions: file_name: small_cosmo_volume.hdf5 + periodic: 1 cleanup_h_factors: 1 cleanup_velocity_factors: 1 - generate_gas_in_ics: 1 # Generate gas particles from the DM-only ICs - cleanup_smoothing_lengths: 1 # Since we generate gas, make use of the (expensive) cleaning-up procedure. + generate_gas_in_ics: 1 # Generate gas particles from the DM-only ICs + cleanup_smoothing_lengths: 1 # Since we generate gas, make use of the (expensive) cleaning-up procedure. diff --git a/examples/SmallCosmoVolume_DM/small_cosmo_volume_dm.yml b/examples/SmallCosmoVolume_DM/small_cosmo_volume_dm.yml index ae4cb62c8da9e1b56ca56f3d14bdbf120ef80c6a..910137edc442c994a9f31a8c62e16818ca4ae97d 100644 --- a/examples/SmallCosmoVolume_DM/small_cosmo_volume_dm.yml +++ b/examples/SmallCosmoVolume_DM/small_cosmo_volume_dm.yml @@ -53,5 +53,6 @@ Scheduler: # Parameters related to the initial conditions InitialConditions: file_name: small_cosmo_volume.hdf5 + periodic: 1 cleanup_h_factors: 1 cleanup_velocity_factors: 1 diff --git a/examples/SmallCosmoVolume_cooling/small_cosmo_volume.yml b/examples/SmallCosmoVolume_cooling/small_cosmo_volume.yml index a765c9860df225b144d57d6fb7a61f58fdf67412..b091207fa98d8b6604124fb9d99c80d65e97dfb2 100644 --- a/examples/SmallCosmoVolume_cooling/small_cosmo_volume.yml +++ b/examples/SmallCosmoVolume_cooling/small_cosmo_volume.yml @@ -52,10 +52,11 @@ Scheduler: # Parameters related to the initial conditions InitialConditions: file_name: small_cosmo_volume.hdf5 + periodic: 1 cleanup_h_factors: 1 cleanup_velocity_factors: 1 - generate_gas_in_ics: 1 # Generate gas particles from the DM-only ICs - cleanup_smoothing_lengths: 1 # Since we generate gas, make use of the (expensive) cleaning-up procedure. + generate_gas_in_ics: 1 # Generate gas particles from the DM-only ICs + cleanup_smoothing_lengths: 1 # Since we generate gas, make use of the (expensive) cleaning-up procedure. # Constant lambda cooling function LambdaCooling: diff --git a/examples/SmoothedMetallicity/makeIC.py b/examples/SmoothedMetallicity/makeIC.py index 86679d5efe897b9dfae7db94b36d74bb047661e6..542b4c5911c942015d16595f42e73ca8978d20da 100644 --- a/examples/SmoothedMetallicity/makeIC.py +++ b/examples/SmoothedMetallicity/makeIC.py @@ -84,10 +84,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 3 -# Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - # Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/SmoothedMetallicity/smoothed_metallicity.yml b/examples/SmoothedMetallicity/smoothed_metallicity.yml index 2e37695392b12c545bbbdbe7fd94748d5b3b9ff8..f6841c6bd0744b4bbeacbe136a126b4ed5631f6f 100644 --- a/examples/SmoothedMetallicity/smoothed_metallicity.yml +++ b/examples/SmoothedMetallicity/smoothed_metallicity.yml @@ -31,4 +31,5 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./smoothed_metallicity.hdf5 # The file to read + periodic: 1 diff --git a/examples/SodShockSpherical_2D/makeIC.py b/examples/SodShockSpherical_2D/makeIC.py index ac9f6e193769d7466f5b8e41a408da2350777be6..bc2c7ed1dcae5adfbfdcaf01c6b5a36bf5669e9e 100644 --- a/examples/SodShockSpherical_2D/makeIC.py +++ b/examples/SodShockSpherical_2D/makeIC.py @@ -100,10 +100,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 2 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/SodShockSpherical_2D/sodShock.yml b/examples/SodShockSpherical_2D/sodShock.yml index a26ab95b21c782ce83310038432ac08df0e024c3..4ef13c26ccf55163f9276b6e095c351efd9ecb35 100644 --- a/examples/SodShockSpherical_2D/sodShock.yml +++ b/examples/SodShockSpherical_2D/sodShock.yml @@ -31,4 +31,5 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./sodShock.hdf5 # The file to read + periodic: 1 diff --git a/examples/SodShockSpherical_3D/makeIC.py b/examples/SodShockSpherical_3D/makeIC.py index be8f9b61a1beef00f49786860ce94287b30e2ab3..3884fc29280209d465b721230ae19b474a42f6a0 100644 --- a/examples/SodShockSpherical_3D/makeIC.py +++ b/examples/SodShockSpherical_3D/makeIC.py @@ -102,10 +102,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 3 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/SodShockSpherical_3D/sodShock.yml b/examples/SodShockSpherical_3D/sodShock.yml index 3fc4a1fb2b8cc5f6a603abf4c87ac99c7647b9bd..16d3bd313cf8a365fb82d3142ba1ac4fd065d193 100644 --- a/examples/SodShockSpherical_3D/sodShock.yml +++ b/examples/SodShockSpherical_3D/sodShock.yml @@ -32,4 +32,5 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./sodShock.hdf5 # The file to read + periodic: 1 diff --git a/examples/SodShock_1D/makeIC.py b/examples/SodShock_1D/makeIC.py index a5c7f03b24d10e81057dbe25855f33f795218f19..d26bbbb4dbf71c1d6a63ad3c7900edfabe0fb9ec 100644 --- a/examples/SodShock_1D/makeIC.py +++ b/examples/SodShock_1D/makeIC.py @@ -92,10 +92,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 1 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/SodShock_1D/sodShock.yml b/examples/SodShock_1D/sodShock.yml index e827edadb9c287975d83214249d4fdd7734a5f6c..69554b4db733166fc5dbb6d198966fd8f9b8d49c 100644 --- a/examples/SodShock_1D/sodShock.yml +++ b/examples/SodShock_1D/sodShock.yml @@ -31,4 +31,4 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./sodShock.hdf5 # The file to read - + periodic: 1 diff --git a/examples/SodShock_2D/makeIC.py b/examples/SodShock_2D/makeIC.py index 850ca24f54c39990a9b0c54c0d2f361a2aa01e95..2d3bd75fcc41e0fee6dd7cfde62873980bbc7143 100644 --- a/examples/SodShock_2D/makeIC.py +++ b/examples/SodShock_2D/makeIC.py @@ -98,10 +98,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 2 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/SodShock_2D/sodShock.yml b/examples/SodShock_2D/sodShock.yml index 51a188b6d4537d490cb837a03dab15f74c3b083c..b831dd78278fea619d75e2db8806cf00d8faf575 100644 --- a/examples/SodShock_2D/sodShock.yml +++ b/examples/SodShock_2D/sodShock.yml @@ -31,4 +31,5 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./sodShock.hdf5 # The file to read + periodic: 1 diff --git a/examples/SodShock_3D/makeIC.py b/examples/SodShock_3D/makeIC.py index c71c07c6c97bb715c580f747cf8d39ddf08445c3..69f1bc506680d3f2f149c0fd7b75b069f9b00b64 100644 --- a/examples/SodShock_3D/makeIC.py +++ b/examples/SodShock_3D/makeIC.py @@ -98,10 +98,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 3 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/SodShock_3D/sodShock.yml b/examples/SodShock_3D/sodShock.yml index 6042c8090d00fef5467a7fed3d6f5a104c626f43..b2d783cd74d66a8eaa3cbbf4b08fc686b0298244 100644 --- a/examples/SodShock_3D/sodShock.yml +++ b/examples/SodShock_3D/sodShock.yml @@ -32,4 +32,5 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./sodShock.hdf5 # The file to read + periodic: 1 diff --git a/examples/SquareTest_2D/makeIC.py b/examples/SquareTest_2D/makeIC.py index 186e653124a6ff62a964c37cf0fb2220f1152a0e..12a394873edf42f7ecfdf07c9795b62e3ad89745 100644 --- a/examples/SquareTest_2D/makeIC.py +++ b/examples/SquareTest_2D/makeIC.py @@ -96,10 +96,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = [0, 0, 0, 0, 0, 0] grp.attrs["Dimension"] = 2 -#Runtime parameters -grp = fileOutput.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = fileOutput.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/SquareTest_2D/square.yml b/examples/SquareTest_2D/square.yml index b700c441a619ef8faac52656909567c944e344c3..54e0effa676cd5b1233ae7c38aded18d089f0ef2 100644 --- a/examples/SquareTest_2D/square.yml +++ b/examples/SquareTest_2D/square.yml @@ -31,3 +31,4 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./square.hdf5 # The file to read + periodic: 1 diff --git a/examples/UniformBox_2D/makeIC.py b/examples/UniformBox_2D/makeIC.py index 642896c6ec406a5a75127e024d19775ea4a8e09b..36bb1ba6118a31db3251a1cd7f332f01b2ba3df1 100644 --- a/examples/UniformBox_2D/makeIC.py +++ b/examples/UniformBox_2D/makeIC.py @@ -85,10 +85,6 @@ grp.attrs["Flag_Entropy_ICs"] = [0, 0, 0, 0, 0, 0] grp.attrs["NumPart_Total"] = numPart grp.attrs["Dimension"] = 2 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = periodic - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/UniformBox_2D/uniformPlane.yml b/examples/UniformBox_2D/uniformPlane.yml index 58fe0d50557db0c0624fe89cbde888d2c92775e5..77f53d59c497b10b1c95ce5dcb763fa8bffcd5ca 100644 --- a/examples/UniformBox_2D/uniformPlane.yml +++ b/examples/UniformBox_2D/uniformPlane.yml @@ -31,3 +31,4 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./uniformPlane.hdf5 # The file to read + periodic: 1 diff --git a/examples/UniformBox_3D/makeIC.py b/examples/UniformBox_3D/makeIC.py index 01e37c67b6e2eec2984d62f4ffd503b23b5bd9ec..8311aae951f921b4c7f759ba09cc8fe73cf4a9f1 100644 --- a/examples/UniformBox_3D/makeIC.py +++ b/examples/UniformBox_3D/makeIC.py @@ -57,10 +57,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 3 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = periodic - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/UniformBox_3D/uniformBox.yml b/examples/UniformBox_3D/uniformBox.yml index 17dd5632edd345802402cb9c6d1dcf184e909806..202ff8298fe763a8c194ab4570b1252fe352dccc 100644 --- a/examples/UniformBox_3D/uniformBox.yml +++ b/examples/UniformBox_3D/uniformBox.yml @@ -31,3 +31,4 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./uniformBox.hdf5 # The file to read + periodic: 1 diff --git a/examples/VacuumSpherical_2D/makeIC.py b/examples/VacuumSpherical_2D/makeIC.py index 498f1b5bc5277188d8ff8d34a5ec24cd314332d4..05f0d8414cfa88755ecceb2be757e24ca3cefdde 100644 --- a/examples/VacuumSpherical_2D/makeIC.py +++ b/examples/VacuumSpherical_2D/makeIC.py @@ -77,10 +77,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 2 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/VacuumSpherical_2D/vacuum.yml b/examples/VacuumSpherical_2D/vacuum.yml index 881b155b62c7f1f2af12a1d013ff5c05f1c16a88..1d5642d5c1b645808229c5c6b99fb6d319351880 100644 --- a/examples/VacuumSpherical_2D/vacuum.yml +++ b/examples/VacuumSpherical_2D/vacuum.yml @@ -31,4 +31,4 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./vacuum.hdf5 # The file to read - + periodic: 1 diff --git a/examples/VacuumSpherical_3D/makeIC.py b/examples/VacuumSpherical_3D/makeIC.py index d67a30707a904268a09641210a6a3bfcbf305dad..dd4ddd7e8a8d6335e4d3d3b383c54bf301a06f1d 100644 --- a/examples/VacuumSpherical_3D/makeIC.py +++ b/examples/VacuumSpherical_3D/makeIC.py @@ -80,10 +80,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 3 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/VacuumSpherical_3D/vacuum.yml b/examples/VacuumSpherical_3D/vacuum.yml index 8792f029d97f413882ae0ea6c8603d64efaddbfa..851abf74441a48a58eac551bd0526f1d4b6e4ce0 100644 --- a/examples/VacuumSpherical_3D/vacuum.yml +++ b/examples/VacuumSpherical_3D/vacuum.yml @@ -32,4 +32,6 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./vacuum.hdf5 # The file to read + periodic: 1 + \ No newline at end of file diff --git a/examples/Vacuum_1D/makeIC.py b/examples/Vacuum_1D/makeIC.py index 067304ec951182da862cf2812cdc68a51a56d23b..5b057b340cbfa9718fb230ab1af839bc63678032 100644 --- a/examples/Vacuum_1D/makeIC.py +++ b/examples/Vacuum_1D/makeIC.py @@ -63,10 +63,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 1 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/Vacuum_1D/vacuum.yml b/examples/Vacuum_1D/vacuum.yml index 5ef5ce3da68febb086a14ad1a2207711f680d9ff..0be6427e50e1f674f7f59d4b865f2c4f9605a378 100644 --- a/examples/Vacuum_1D/vacuum.yml +++ b/examples/Vacuum_1D/vacuum.yml @@ -31,4 +31,5 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./vacuum.hdf5 # The file to read + periodic: 1 diff --git a/examples/Vacuum_2D/makeIC.py b/examples/Vacuum_2D/makeIC.py index ef267c092cafdb95457d5adad1e6858df0e14bd3..4d9181b83c0e383d0e3fb0dc6ca79dbda6f88891 100644 --- a/examples/Vacuum_2D/makeIC.py +++ b/examples/Vacuum_2D/makeIC.py @@ -71,10 +71,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 2 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/Vacuum_2D/vacuum.yml b/examples/Vacuum_2D/vacuum.yml index 5ef5ce3da68febb086a14ad1a2207711f680d9ff..0be6427e50e1f674f7f59d4b865f2c4f9605a378 100644 --- a/examples/Vacuum_2D/vacuum.yml +++ b/examples/Vacuum_2D/vacuum.yml @@ -31,4 +31,5 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./vacuum.hdf5 # The file to read + periodic: 1 diff --git a/examples/Vacuum_3D/makeIC.py b/examples/Vacuum_3D/makeIC.py index 09c3cb4d6f5525d54fab59643ab4a7d0540a2a92..cee2d28d5190305a3536315001453e7595b7c7f2 100644 --- a/examples/Vacuum_3D/makeIC.py +++ b/examples/Vacuum_3D/makeIC.py @@ -73,10 +73,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 3 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 1. diff --git a/examples/Vacuum_3D/vacuum.yml b/examples/Vacuum_3D/vacuum.yml index cf44d2441f5009d2fc75084a2c872e3618e40912..49bd9747d677bfdf64009bd1e02a86bc52a8db9c 100644 --- a/examples/Vacuum_3D/vacuum.yml +++ b/examples/Vacuum_3D/vacuum.yml @@ -32,4 +32,5 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./vacuum.hdf5 # The file to read + periodic: 1 diff --git a/examples/ZeldovichPancake_3D/makeIC.py b/examples/ZeldovichPancake_3D/makeIC.py index 79ed7e71e924941102049b8457fe070ebd08f5c2..efce60f128cacd04e153912d97e0d94b4ab15785 100644 --- a/examples/ZeldovichPancake_3D/makeIC.py +++ b/examples/ZeldovichPancake_3D/makeIC.py @@ -123,10 +123,6 @@ grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = 0 grp.attrs["Dimension"] = 3 -#Runtime parameters -grp = file.create_group("/RuntimePars") -grp.attrs["PeriodicBoundariesOn"] = 1 - #Units grp = file.create_group("/Units") grp.attrs["Unit length in cgs (U_L)"] = 100. * unit_l_in_si diff --git a/examples/ZeldovichPancake_3D/zeldovichPancake.yml b/examples/ZeldovichPancake_3D/zeldovichPancake.yml index 4d83d805cfebb837f37058167a4e3c974a936317..a1d2342b56d6816c3cfbe7da70220ab244104fbd 100644 --- a/examples/ZeldovichPancake_3D/zeldovichPancake.yml +++ b/examples/ZeldovichPancake_3D/zeldovichPancake.yml @@ -39,7 +39,8 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./zeldovichPancake.hdf5 # The file to read - + periodic: 1 + Scheduler: max_top_level_cells: 8 cell_split_size: 50 diff --git a/examples/ZoomIn/getIC.sh b/examples/ZoomIn/getIC.sh old mode 100644 new mode 100755 diff --git a/examples/ZoomIn/run.sh b/examples/ZoomIn/run.sh old mode 100644 new mode 100755 diff --git a/examples/ZoomIn/zoom_in.yml b/examples/ZoomIn/zoom_in.yml index 5f0fa4958b63150d94ff06df042a03af6f221038..8e5763c4af700b7fd95beb6188ed886198b559b3 100644 --- a/examples/ZoomIn/zoom_in.yml +++ b/examples/ZoomIn/zoom_in.yml @@ -56,6 +56,7 @@ SPH: # Parameters related to the initial conditions InitialConditions: file_name: ./zoom_in.hdf5 # The file to read + periodic: 1 cleanup_h_factors: 1 # Remove the h-factors inherited from Gadget cleanup_velocity_factors: 1 # Remove the sqrt(a) factor in the velocities inherited from Gadget diff --git a/examples/getCoolingTable.sh b/examples/getCoolingTable.sh old mode 100644 new mode 100755