discontinuous galerkin method for the lopin thing