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