Heat flow model for pulsed laser melting and rapid solidification of ion implanted GaAs