A Virtual Grain Structure Representation System for Micromechanics Simulations