At the end of each refinement iteration (in which at most one node is inserted on any edge) the mesh is smoothed. To this end three routines are called: