A Finite Element Model for Calculating the Stresses in Bars with Microstructure Loaded by Ultra-Short Laser Pulses