!/bin/bash


readonly VRR="$1/vrr"
echo "VRR is at $VRR"
echo "cli args $@"

main () {
    # First run of inpmod, stamod, dynmod - to make file vert_diff_wavkin.bin
    "$VRR" isd vert_diff || exit 1

    # Second, run of inpmod, stamod, dynmod, outmod
    "$VRR" isdo vert_read || exit 2
}


# The only global command is to start the main function
main

exit 0
