Skip to content
Snippets Groups Projects
Commit 200ef4f7 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Merge branch 'master' into pack_foreign_gpart

parents 171d5513 3224b1a6
Branches
Tags
1 merge request!1393Slimming down of foreign gpart + reduced comm size
#!/bin/bash
# Download the tables of the publicly available planetary equations of state
wget http://virgodb.cosma.dur.ac.uk/swift-webstorage/EoS/planetary_HM80_HHe.txt
wget http://virgodb.cosma.dur.ac.uk/swift-webstorage/EoS/planetary_HM80_ice.txt
wget http://virgodb.cosma.dur.ac.uk/swift-webstorage/EoS/planetary_HM80_rock.txt
wget https://virgodb.cosma.dur.ac.uk/swift-webstorage/EoS/planetary_HM80_HHe.txt
wget https://virgodb.cosma.dur.ac.uk/swift-webstorage/EoS/planetary_HM80_ice.txt
wget https://virgodb.cosma.dur.ac.uk/swift-webstorage/EoS/planetary_HM80_rock.txt
mv planetary_HM80_HHe.txt ../../../examples/
mv planetary_HM80_ice.txt ../../../examples/
......
......@@ -133,7 +133,7 @@ void pairs_n2(double *dim, struct part *restrict parts, int N, int periodic) {
// count += parts[k].icount;
rho += parts[k].density.wcount;
rho_min = fmin(parts[k].density.wcount, rho_min);
rho_min = fmax(parts[k].density.wcount, rho_max);
rho_max = fmax(parts[k].density.wcount, rho_max);
}
/* Dump the result. */
......
......@@ -30,7 +30,7 @@ L = 4 # Number of particles along one axis
density = 2.0 # Density
P = 1.0 # Pressure
gamma = 5.0 / 3.0 # Gas adiabatic index
material = 0 # Ideal gas
material = 0 # Ideal gas
fileName = "input.hdf5"
# ---------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment