#!/bin/bash

 # Generate the initial conditions if they are not present.
if [ ! -e EAGLE_ICs_100.hdf5 ]
then
    echo "Fetching initial conditions for the EAGLE 100Mpc example..."
    ./getIC.sh
fi

../../../swift --cosmology --hydro --self-gravity --stars --threads=16 eagle_100.yml 2>&1 | tee output.log

