DAMASK_EICMD/processing/pre/geom_check.sh

19 lines
278 B
Bash
Raw Normal View History

#!/usr/bin/env bash
for geom in "$@"
do
2016-04-25 12:10:36 +05:30
geom_toTable \
< $geom \
| \
vtk_rectilinearGrid > ${geom%.*}.vtk
geom_toTable \
< $geom \
| \
vtk_addRectilinearGridData \
--scalar microstructure \
--inplace \
2016-04-25 12:10:36 +05:30
--vtk ${geom%.*}.vtk
rm ${geom%.*}.vtk
done