#!/usr/bin/env bash

tnl-grid-setup --dimensions 1 \
               --origin-x 0.0 \
               --proportions-x 1.0 \
               --size-x 100 

#tnl-init --test-function sin-wave \
#         --output-file init.tnl
tnl-euler-1d-dbg --time-discretisation explicit \
	      --time-step 2.5e-3 \
              --boundary-conditions-type myneumann \
              --discrete-solver euler \
              --snapshot-period 0.015 \
              --final-time 0.15 \
              --left-density 1.0 \
              --left-velocity -2.0 \
              --left-pressure 0.4 \
              --right-density 1.0 \
              --right-velocity 2.0 \
              --right-pressure 0.4 \
              --gamma 1.4 \
              --riemann-border 0.5 \

tnl-view --mesh mesh.tnl --input-files *tnl     
