Energy-dissipating-flows-for-solving-nonlinear-eigenpair-problems