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