4 for H5M_FILE in out_*h5m
7 BASE_NAME=`basename $H5M_FILE .h5m`
10 VTK_FILE=$BASE_NAME.vtk
11 if [ $VTK_FILE -nt $H5M_FILE ]; then
12 echo $H5M_FILE is older than $VTK_FILE
14 echo $H5M_FILE convert to $BASE_NAME.vtk
15 mbconvert $H5M_FILE $VTK_FILE