DAMASK_EICMD/processing/pre/geom_check.sh

19 lines
270 B
Bash
Executable File

#!/bin/bash
for geom in "$@"
do
geom_toTable \
< $geom \
| \
vtk_rectilinearGrid > ${geom%.*}.vtk
geom_toTable \
< $geom \
| \
vtk_addRectilinearGridData \
--scalar microstructure \
--inplace \
--vtk ${geom%.*}.vtk
rm ${geom%.*}.vtk
done