A Computer Model for Pulsed Laser Heating of Device Structures