DAMASK_EICMD/processing/pre/geom_check.sh

16 lines
217 B
Bash
Raw Normal View History

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