Analysis of the continuum surface force method