A method is disclosed for varying a mechanical property of a material at two depths. The method involves the application of at least two laser pulses of different durations. The method involves a determination of the density of the material from the surface to each depth, a determination of the heat capacity of the material from the surface to each depth, and a determination of the thermal conductivity of the material from the surface to each depth. Each laser pulse may affect the density, heat capacity, and thermal conductivity of the material, so it may be necessary to re-evaluate those parameters after each laser pulse and prior to the next pulse. The method may be applied to implantation materials to improve osteoblast and osteoclast activity.