This c++ code is modified from the DystheEq of Denys Dutykh by using matlab2cpp
More information can be found in the papers:
-
E. Lo, C.C. Mei. A numerical study of water-wave modulation based on a higher-order nonlinear Schrödinger equation, J. Fluid Mech., 150, 395-416, 1985
-
F. Fedele, D. Dutykh. Hamiltonian form and solitary waves of the spatial Dysthe equations, JETP Letters, 94(12), 840-844, 2011
-
F. Fedele, D. Dutykh. Hamiltonian description and traveling waves of the spatial Dysthe equations, Research report, arXiv:1110.3605, 2012