Add Euclidean distance to grain structural features: boundaries (biplanes), triple lines, and quadruple points.
Operates on given file(s) or STDIN
> addEuclideanDistance [options] [geomfiles(s)]
-p string [ pos ]
- label of coordinates
-i string [ texture ]
- label of grain identifier
- feature types to calculate (»boundary«|»biplane«, »tripleline«, »quadruplepoint« as comma-separated list).
-n string [ neumann ]
- type of neighborhood (Neumann with 6 neighbors, Moore with 26 neighbors)
--scale / =-s float [ 1.0 ]
- voxel size
Based on the example file at $DAMASK_ROOT/examples/SpectralMethod/20grains64x64x64.geom
the following command creates all three features using a Neumann neighborhood.
Note that not all quadruple points are necessarily identified when using this limited neighborhood!
> addEuclideanDistance -t boundary,tripleline,quadruplepoint 20grains64x64x64.geom
presents the resulting geometries.
(a) Microstructure, color indicates grain number
(b) Grain boundaries, color indicates distance
(c) Triple lines, color indicates distance
(d) Quadruple points, color indicates distance
| Figure 1: Volume element of 20 grains and the resulting features|