[Penlin] .m to construct the curve data and differential data