High order discontinuous Galerkin methods for time-domain and frequency-domain nanophotonics. (March 2020)