Front-tracking and variational methods to approximate interfaces with prescribed mean curvature