This code is meant as a supplement to  , and is an implementation of a moving mesh energy preserving solver for the Korteweg-de Vries equation using the Average Vector Field (AVF) discrete gradient in time and finite elements in space.
 Eidnes, Sølve, Brynjulf Owren, and Torbjørn Ringholm. "Adaptive energy preserving methods for partial differential equations." Advances in Computational Mathematics (2017): 1-25.
Torbjorn Ringholm (2023). tringholm/DGMM-KdV (https://github.com/tringholm/DGMM-KdV), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Legendre-Gauss Quadrature Weights and Nodes
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Versions that use the GitHub default branch cannot be downloaded