Computational model for friction force microscopy: stick-slip motion and thermal energy on surface. (25th March 2019)