xref: /petsc/src/ts/tutorials/hybrid/run.sh (revision 6a98f8dc3f2c9149905a87dc2e9d0fedaf64e09a)
1#!/bin/bash
2total=64
3for (( i=1; i<=$total; i++ ))
4do
5  tend=`echo 0.25*$i/$total | bc -l`
6  echo $tend
7  ./ex1adj -pc_type lu -ts_event_tol 1e-10 -tend $tend
8done
9
10./ex1fwd -pc_type lu -ts_event_tol 1e-10 -tend 0.25
11