Global solutions to the gradient flow equation of a nonconvex functional