Sparse grid discontinuous Galerkin methods for nonlinear optics and mathematical modeling of asynchronous data flow in parallel computers