run.sh 257 Bytes
Newer Older
1
2
3
4
5
#!/bin/bash

# Generate the initial conditions if they are not present.
if [ ! -e Isothermal.hdf5 ]
then
6
7
    echo "Generating initial conditions for the isothermal potential box example..."
    python makeIC.py 1000 1
8
9
fi

10
../../swift -g -t 2 isothermal.yml