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