This code is meant as a supplement to  , and is an implementation of a moving mesh energy preserving solver for the 1D Sine-Gordon equation using the Average Vector Field (AVF) discrete gradient.
 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 (2020). tringholm/DGMM-Sine-Gordon (https://www.github.com/tringholm/DGMM-Sine-Gordon), GitHub. Retrieved .