keywords CONSERVATION-LAWS DISCONTINUOUS GALERKIN METHODS EFFICIENT IMPLEMENTATION FINITE-ELEMENT-METHOD K-means clustering Mathematics Mathematics, Applied Mechanics NEURAL-NETWORK Physical Sciences Science & Technology Technology Troubled-cell indicator discontinuous Galerkin method indication variable shock detection