Solidification in direct metal deposition by LENS processing