Smooth anisotropic sources with application to three-dimensional surface mesh generation