https://123dok.net/document/q2n3dpjq-gradient-flow-approach-to-the-calculation-of-ground-states-on-nonlinear-quantum-graphs.html